|
Boost Users : |
From: Delfin Rojas (drojas_at_[hidden])
Date: 2006-06-29 11:52:22
> Simon Reye wrote:
>
> My apologies if this has been covered. I am new to boost and
> have been working with the boost thread class. I assume that
> the join() function waits for the thread to finish execution.
> But what if the thread has already finished executing? Can
> I still call join() and have it not wait for infinity?
>
As far as I know if the thread is already finished (the thread's main
function has exited) join() will return right away.
-delfin
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