Converting an existing thread to use boost.thread
Hi; I am in the process of converting an existing thread function originally called using BeginThread to use boost.thread. I have a coupple of questions: 1. How would I go about returning to the existing thread, I use windows event handles and when one is signaled the thread ends, can I still use a while loop to do this, such as: Do { Code While(returnFromThread !=true); 2. Does boost::thread allow me the create mutex's and does it inherit windows mutex handles. 3. Can I tell a thread to run as soon as it starts or do I have to use the call boost.join. Any help apreciated. Cheers San. __________ Information from ESET NOD32 Antivirus, version of virus signature database 4018 (20090418) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
participants (1)
-
Sean Farrow