threading

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sharon

    #1

    threading

    should an assembly hosted by iis be considered running in a multithreaded
    environment?


  • Willy Denoyette [MVP]

    #2
    Re: threading

    Yes, but that's the case for any host running managed code.
    Not sure why you are asking this.
    Willy.


    "Sharon" <talsharon@hotm ail.com> wrote in message
    news:utlek4uuDH A.2448@TK2MSFTN GP12.phx.gbl...[color=blue]
    > should an assembly hosted by iis be considered running in a multithreaded
    > environment?
    >
    >[/color]


    Comment

    • Sharon

      #3
      Re: threading

      i'm not sure if each request to an asp page that can also access the
      assembly
      creates a new thread.
      i'm not sure how the whole thing works but i lock critical code anyway.

      "Willy Denoyette [MVP]" <willy.denoyett e@pandora.be> wrote in message
      news:OXwgvTxuDH A.3744@TK2MSFTN GP11.phx.gbl...[color=blue]
      > Yes, but that's the case for any host running managed code.
      > Not sure why you are asking this.
      > Willy.
      >
      >
      > "Sharon" <talsharon@hotm ail.com> wrote in message
      > news:utlek4uuDH A.2448@TK2MSFTN GP12.phx.gbl...[color=green]
      > > should an assembly hosted by iis be considered running in a[/color][/color]
      multithreaded[color=blue][color=green]
      > > environment?
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Willy Denoyette [MVP]

        #4
        Re: threading

        Each request is handled by a separate thread, only shared data accesses
        should be synchronized.
        Willy.

        "Sharon" <talsharon@hotm ail.com> wrote in message
        news:elRPlF0uDH A.3536@tk2msftn gp13.phx.gbl...[color=blue]
        > i'm not sure if each request to an asp page that can also access the
        > assembly
        > creates a new thread.
        > i'm not sure how the whole thing works but i lock critical code anyway.
        >
        > "Willy Denoyette [MVP]" <willy.denoyett e@pandora.be> wrote in message
        > news:OXwgvTxuDH A.3744@TK2MSFTN GP11.phx.gbl...[color=green]
        > > Yes, but that's the case for any host running managed code.
        > > Not sure why you are asking this.
        > > Willy.
        > >
        > >
        > > "Sharon" <talsharon@hotm ail.com> wrote in message
        > > news:utlek4uuDH A.2448@TK2MSFTN GP12.phx.gbl...[color=darkred]
        > > > should an assembly hosted by iis be considered running in a[/color][/color]
        > multithreaded[color=green][color=darkred]
        > > > environment?
        > > >
        > > >[/color]
        > >
        > >[/color]
        >
        >[/color]


        Comment

        • Sharon

          #5
          Re: threading

          10x Willy.

          "Willy Denoyette [MVP]" <willy.denoyett e@pandora.be> wrote in message
          news:OapZO2BvDH A.2148@TK2MSFTN GP12.phx.gbl...[color=blue]
          > Each request is handled by a separate thread, only shared data accesses
          > should be synchronized.
          > Willy.
          >
          > "Sharon" <talsharon@hotm ail.com> wrote in message
          > news:elRPlF0uDH A.3536@tk2msftn gp13.phx.gbl...[color=green]
          > > i'm not sure if each request to an asp page that can also access the
          > > assembly
          > > creates a new thread.
          > > i'm not sure how the whole thing works but i lock critical code anyway.
          > >
          > > "Willy Denoyette [MVP]" <willy.denoyett e@pandora.be> wrote in message
          > > news:OXwgvTxuDH A.3744@TK2MSFTN GP11.phx.gbl...[color=darkred]
          > > > Yes, but that's the case for any host running managed code.
          > > > Not sure why you are asking this.
          > > > Willy.
          > > >
          > > >
          > > > "Sharon" <talsharon@hotm ail.com> wrote in message
          > > > news:utlek4uuDH A.2448@TK2MSFTN GP12.phx.gbl...
          > > > > should an assembly hosted by iis be considered running in a[/color]
          > > multithreaded[color=darkred]
          > > > > environment?
          > > > >
          > > > >
          > > >
          > > >[/color]
          > >
          > >[/color]
          >
          >[/color]


          Comment

          Working...