Overview
| Artifact ID: | a07ecd6e57bd7e6669043bbabf83d158cc160a65 |
|---|---|
| Ticket: | 2005794fffffffffffffffffffffffffffffffff
tpool::create freezes when using minworkers |
| User & Date: | ferrieux on 2008-10-22 05:30:54 |
Changes
- icomment:
I don't know if this is relevant but... in the tpool.tcl code, in tpool::create, when minworkers is nonzero, the following loop is done outside any lock: for {set ii 0} {$ii < [tsv::set $tpid -minworkers]} {incr ii} { Worker $tpid } But the comment for Worker says This procedure must be executed under the tsv lock. Maybe we could just run this loop inside a tsv::lock block ? - login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"