|
Boost Users : |
Subject: [Boost-users] Converting an existing thread to use boost.thread
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2009-04-18 04:43:20
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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net