I found the boost thread library lacking in many regards and ACE does not compile on one of my target platforms (QNX).
quote:Original post by MindGames
You might want to add some kind of TerminateAndWait function (i.e. one that sets a flag or whatever to tell the thread function to exit and then waits until it has exited) to your thread class so that you can exit cleanly and easily.
I did. See "WaitForSingleObject" in cThread::Stop.
@MKH: thank you very much! although the code you pasted is a bit over my head I''m pretty sure it''ll answer my questions.
[ Bananas | My dead site | www.sgi.com | Goegel ]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement