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.
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 Williams Software Developer Just Software Solutions Ltd http://www.justsoftwaresolutions.co.uk
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk