Subject: [Boost-users] [Threads] Test for running thread
From: Krzysiek (float80_at_[hidden])
Date: 2009-07-10 06:04:39


Hi,

I use following code to test running thread.
bool isRunning = !thread.timed_join (
   boost::posix_time::milliseconds ( 0 ) );
Is it safe and portable?

Thanks,
Krzysiek