24 Oct
2010
24 Oct
'10
9:09 p.m.
I'm not aware of any task management stuff that comes with the boost libraries. boost::thread is pretty much a straightforward wrapper to lower-level threading concepts.
I would usually build up some kind of task queue/stack that is either locking or concurrent and non-locking that manages the tasks.
FWIW, Boost.Thread has now futures: http://www.boost.org/doc/libs/1_44_0/doc/html/thread/synchronization.html#th... and there's ASIO, which already provides a kind of queue that you're talking about.