Is select() a thread cancellation point?

Niall Douglas s_sourceforge at
Wed Jan 26 13:08:57 PST 2005

According to:

... it is. But v5.3 FreeBSD doesn't cancel during select(), nor 
during recv().

OTOH I have other documentation which suggests that neither select() 
nor recv() are cancellation points.

Oh and on Linux, both are cancellation points. In my mind it's 
probably more useful if they are cancellation points as you can 
always disable cancellation around them if necessary whereas the 
opposite is not true.


More information about the freebsd-threads mailing list