Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2afbbbba50d5eac8515675750c9139a04e32fd2e
Ticket: 3534581fffffffffffffffffffffffffffffffff
tpool::post -nowait still waits
User & Date: vasiljevic on 2012-06-12 20:33:28
Changes

  1. icomment:
    You are right. There is a bug there. 
    Currently. if -nowait option to thread::post is specified AND 
    there are no workers for the pool configured then we 
    spin-off a new worker and wait for it to catch-up. 
    BUT if there ARE some workers yet they are all busy then 
    we wait for first to become free. 
    Instead we should simply spin-off new worker if none 
    configured OR just post the job ticket and return w/o 
    waiting for any worker to become free.
    
    
    
    
  2. login: "vasiljevic"
  3. mimetype: "text/plain"
  4. resolution changed to: "Accepted"
  5. username: "vasiljevic"