From: Ian Bicking <ianb@co...> - 2003-09-28 19:36:55
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).
Get latest updates about Open Source Projects, Conferences and News.