Artifacts Associated With Ticket 3534581fffffffff
Ticket change [0fc76a8be7] (rid 94850) by tomkiti on 2012-06-12 13:06:58:
- assignee initialized to: "vasiljevic"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The -nowait option to tpool::post appears to not work. It is supposed to post a job to the job queue immediately and return, however it seems to wait for a thread to become idle before returning.
- foundin initialized to: "obsolete: 8.5.11"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "tomkiti"
- subsystem initialized to: "80. Thread Package"
- title initialized to: "tpool::post -nowait still waits"
- type initialized to: "Bug"
Add attachment "postNowaitBug.tcl" [66df5e0f6d] (rid 102805) by tomkiti on 2012-06-12 20:07:02.
Ticket change [ed9bca621c] (rid 103916) by tomkiti on 2012-06-12 20:07:03:
- icomment:
File Added - 445856: postNowaitBug.tcl
- login: "tomkiti"
- mimetype: "text/plain"
- username: "tomkiti"
- icomment:
Ticket change [2afbbbba50] (rid 118660) by vasiljevic on 2012-06-12 20:33:28:
- 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.
- login: "vasiljevic"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- username: "vasiljevic"
- icomment:
Ticket change [4143e3cbaa] (rid 116158) by vasiljevic on 2012-09-13 18:23:00:
- closedate changed to: "2012-09-13T11:23:00"
- closer changed to: "vasiljevic"
- icomment:
allow_comments - 1 This has been addressed in 2.7
- login: "vasiljevic"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "vasiljevic"