I have a singleton hosted in IIS adn have a question regaring threading and
how methods are handled on concurrent calls.
Note: all of the data used is from within the method itself (or pulled from
a database from within the method )
Say the method is called concurrenetly ( or at least very minute
millisecondas apart from one another ) Is it poosible for the second calls
method parameteres to overwrite the first calls parameteres so that the
first one will now be using the second calls paramaters. ( this is assuming
the first call has not finished executing the method when the second call is
made ).
Thanks!
Ron
Allen Anderson - 31 Aug 2005 19:50 GMT
no, the METHOD local variables and parms are local to the call and will not get shared between instances. So that should be entirely threadsafe.
-Allen
http://www.glacialcomponents.com
http://allenanderson.blogspot.com/
>I have a singleton hosted in IIS adn have a question regaring threading and
>how methods are handled on concurrent calls.
[quoted text clipped - 10 lines]
>Thanks!
>Ron