|
Boost Users : |
From: Christian Henning (chhenning_at_[hidden])
Date: 2005-08-10 10:22:52
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
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