<i>tpool::create freezes when using minworkers</i> status still Open with 4 other changes
by
.
D 2008-10-22T05:48:50
J icomment Hey,\safter\schecking\sthe\sC\scode\sin\sthreadPoolCmd.c,\sI\scan\switness\sthe\slogic\sis\sexactly\sthe\ssame.\sAnd\sthe\ssame\sflaw\sis\sthere:\n\n\s\s\s\sfor\s(ii\s=\s0;\sii\s<\stpoolPtr->minWorkers;\sii++)\s{\n\s\s\s\s\s\s\s\sif\s(CreateWorker(interp,\stpoolPtr)\s!=\sTCL_OK)\s{\n\s\noutside\sany\smutex,\sbut\sCreateWorker\sis\sdocumented\sas:\n\n\s\s\s\s\s\sAssumes\sthe\scaller\sho(l)ds\sthe\spool\smutex.\n\nSo\sit\sseems\sit\slacks\sa\spair\sof\s\n\n\s\s\s\s\s\sTcl_MutexLock/Unlock(&tpoolPtr->mutex);\n\naround\sthe\sloop\s(but\spossibly\saround\sthe\swhole\screation\sroutine.\sI\sneed\sZoran's\shelp\shere\s;-)\n\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 2005794fffffffffffffffffffffffffffffffff
U ferrieux
Z b52455557c9b5fb7ebb98cbec45b0e55