[Mono-list] mod-mono-server2 with threadpool does not correct threadstatic

Adriaan van Kekem adriaanvk at gmail.com
Fri Jul 6 04:52:41 EDT 2007


I have a mono application running with mod_mono on mono 1.2.4. I have
created somewhere in my webapp a threadstatic variable, actually a generic
stack with specific objects. No i am running my webapp, and seeing my log
file, i see that sometimes the same thread is reused later. This is logical,
because there is a threadpool containing all threads, using them later
again. But when i see that the same thread is reused, the threadstatic
variables are not reset. I don't know if this is a bug, from compiler view
its right, because it's the same thread. But from webapplication view, i
think this is not right. 

Is there any solution for this, or have i to report this as a real bug?


View this message in context: http://www.nabble.com/mod-mono-server2-with-threadpool-does-not-correct-threadstatic-tf4034291.html#a11460637
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list