I would like to know if there is a way to test whenever thread finished execution and is waiting for joining. My guess was the use time_join.
is there explicit way to test it?
I would like to know if there is a way to test whenever thread
Share
There’s no API for that in
boost::thread. I think the reason is that a thread can be detached and made not-joinable. Your best recourse is probably a wrapper and a flag.