Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4adf5ba52237ca2790639a0830ae0694e4a46eab
Ticket: 933975ffffffffffffffffffffffffffffffffff
tpool::create -minworkers
User & Date: mooooooo on 2004-04-13 03:33:51
Changes

  1. assignee changed to: "vasiljevic"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    When using larger values for -minworkers tpool::create
    never returns and Ctrl-C is required.  On my platform,
    it seems to not like more than 12 worker threads. 
    Setting -maxworkers fixes it with some larger values
    but not others.
    
    Minimal sample code:
    
      package require Thread 2.6
      set ::threads [tpool::create -minworkers 16 -idletime
    120]
      puts "id $::threads"
    
    Both Tcl and Threads 2.6 were pulled from CVS
    lastnight, but I noticed the same problem with 2.5. 
    tpool.tcl works as expected.
    
    Fully updated Redhat/Fedora Core 1, dual Athlon 2100, 1
    gig of system memory.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "mooooooo"
  9. subsystem changed to: "80. Thread Package"
  10. title changed to: "tpool::create -minworkers"
  11. type changed to: "Bug"