Boost logo

Boost :

From: Rui Gil (ruigil_at_[hidden])
Date: 2007-10-27 11:17:57

The reason why I send this question it's because I'm using boost threads and
they don't have any mechanism to stop a thread. So I think that is
reasonable to ask boost community how they use to resolve this issue.

Thanks again,
Rui Gil

On 10/27/07, Giovanni Piero Deretta <gpderetta_at_[hidden]> wrote:
> On 10/27/07, Rui Gil <ruigil_at_[hidden]> wrote:
> > Hello,
> >
> > Can any one tell me how can I unblock a thread that is block in a
> socket?
> > I'm using the select/pselect function to detect activity in a group of
> > sockets, and when I'm try to stop the thread she can be lock in the
> select
> > function.
> >
> Add an unnamed pipe end to the select fd set and write to the other end
> when
> you want the select call to terminate.
> But I do not see how this is Boost related.
> gpd
> _______________________________________________
> Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at