10 Aug
2005
10 Aug
'05
3:22 p.m.
Hi Ben, The boost::thread::join() is only for waiting for a thread to complete. I don't want to complete the thread when calling stop(). I just want to put it into the blocked state. I run into a deadlock when I finish the app. I call the stop() and then the ~fvAsynchronousSequencer. But usually the thread isn't stopped when entering the destructor and when the thread stops after I called notify_one() I'm inside a deadlock. So, is there a way, that when the stop() returns, the worker thread is blocked? Thanks, Christian