On Sunday, September 28, 2003, at 01:32 PM, Victor Ng wrote:
I'm a little confused about how the threading model works in Webware. What does the threadpool actually do? I'm not sure where I should be adding mutexes to protect myself from concurrent users.

Each request is run in a separate thread. So each of your servlets will be running concurrently with other servlets (both servlets of the same class and other classes). A single servlet instance is pooled, that is they are reused, but only one thread uses a servlet instance at a time (it completes a single request and then moves to the next one).


Ian



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to