[Webware-discuss] RE: [ZODB-Dev] Webkit Threading and ZODB 3.3a2: problems on Windows

Ian Bicking ianb at colorstudy.com
Thu Feb 19 13:19:06 EST 2004


Tim Peters wrote:
> Alas, it wasn't clear in the original report whether threads *are* getting
> created and destroyed, or whether the threads in the pool hang around
> forever.  If the latter, it doesn't matter how ofter tids get reused;
> whether on Linux or Windows, no two threads *simultaneously* alive will
> return the same tid.

If it helps, Webware preallocates its threads, and reuses them indefinitely.

I'm not sure if this is the case if you are running scheduled tasks in 
Webware, though I believe that's implemented with a single preallocated 
thread as well.  Maybe Matt or someone can confirm if scheduled tasks 
are part of the application, or a their use a predictor of the problem.

   Ian



More information about the ZODB-Dev mailing list