
13 Jul
2010
13 Jul
'10
10 a.m.
"Lloyd"
In boost::thread, when a thread is created, it starts execution at that instance itself. Instead of this, is it possible to postpone the execution?
No. You can have the thread function block on a condition variable or something straight away though. That way you can control when it resumes by setting the flag and notifying the condition variable. Anthony -- Author of C++ Concurrency in Action http://www.stdthread.co.uk/book/ just::thread C++0x thread library http://www.stdthread.co.uk Just Software Solutions Ltd http://www.justsoftwaresolutions.co.uk 15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976