Boost logo

Boost Users :

Subject: [Boost-users] [threads] How to test for running thread
From: Koen Vermeer (koen_at_[hidden])
Date: 2008-10-15 08:45:02


Suppose I have a thread running, I issue an interrupt(), and the thread
starts to perform its cleanup code. As this may take some time, I'd like
to know when the thread actually is stopped. Is there some standard
approach on how to do this? I was thinking about testing if the thread
object equals Not-a-Thread, but I've yet to find out how...


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at