Boost logo

Boost :

From: Giovanni Piero Deretta (gpderetta_at_[hidden])
Date: 2007-10-27 10:20:23

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.


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