Boost logo

Boost Users :

Subject: Re: [Boost-users] Thread status
From: Zeljko Vrba (zvrba_at_[hidden])
Date: 2009-01-30 16:25:12


On Fri, Jan 30, 2009 at 09:21:57PM +0100, Jens Luedicke wrote:
>
> Right now I use a condition variable to wait in the third thread until
> the first and second threads are finished (by checking two boolean
>
What is unsatisfactory with this solution?

>
> In a later scenario I may need to query those threads anytime to suspend
> or terminate them (the threads will run trajectory computations for a
>
What do you mean by "query"? It is still not at all clear why do you need to
know the thread's state, i.e., which problem are you trying to solve.


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