Overview
| Artifact ID: | 2afbbbba50d5eac8515675750c9139a04e32fd2e |
|---|---|
| Ticket: | 3534581fffffffffffffffffffffffffffffffff
tpool::post -nowait still waits |
| User & Date: | vasiljevic on 2012-06-12 20:33:28 |
Changes
- 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"