Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a07ecd6e57bd7e6669043bbabf83d158cc160a65
Ticket: 2005794fffffffffffffffffffffffffffffffff
tpool::create freezes when using minworkers
User & Date: ferrieux on 2008-10-22 05:30:54
Changes

  1. 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 ?
    
    
    
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"