Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-06-02 14:07:46

Johan Torp:
> ... The idea is to execute another task in the
> future::wait() call to avoid thread context switching and to need less
> worker threads. I've presented some arguments why this might cause
> unexpected problems.

It doesn't cause unexpected deadlocks if the thread is reused to execute the
specific task that is supposed to produce the result of this particular

Limiting the reuse to pool threads eliminates most other (theoretical IMO)

Boost list run by bdawes at, gregod at, cpdaniel at, john at