Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 32c7267a9ff5c81ad6fb8c4396ad0753c7138e96
Ticket: 2005794fffffffffffffffffffffffffffffffff
tpool::create freezes when using minworkers
User & Date: nathanjett on 2008-10-22 06:18:11
Changes

  1. icomment:
    Alex,
    
    It appears your suggestion fixes the flaw.  I added a Tcl_MutexLock/Unlock(&tpoolPtr->mutex); around the loop you indicated and recompiled.  I now have no problem spinning off 100+ worker threads in a tpool and my larger application works fine now.  Thanks again for your help!
    
    Nathan
    
    
  2. login: "nathanjett"
  3. mimetype: "text/plain"
  4. username: "nathanjett"