$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2005-09-23 16:43:17
Jason Hise <chaos_at_[hidden]> writes:
> Can the yield function of boost::thread be used to immediately wake up a
> thread that is sleeping? I would like to use this to make sure that
> certain threads get the chance to exit before the process terminates,
> without join resulting in the whole program sleeping.
No.
I am currently exploring ideas around waking specific threads on win32 as an
implementation detail of various boost::thread primitives, but I am not aware
of ways to do this on other platforms, such as those using pthreads.
Anthony
-- Anthony Williams Software Developer Just Software Solutions Ltd http://www.justsoftwaresolutions.co.uk