recvfrom() not a thread cancellation point

Niall Douglas s_sourceforge at nedprod.com
Fri Mar 31 20:27:06 UTC 2006


Hi,

How do I receive UDP packets using recvfrom() when it would seem that 
recvfrom() is not a thread cancellation point on FreeBSD 6.0?

Is there an alternative method of receiving UDP packets which is 
thread cancellable? The best I can see is using plain read() but this 
of course won't return the sender of the UDP packet.

Cheers,
Niall





More information about the freebsd-threads mailing list