Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2005 21:08:42 -0000
From:      "Niall Douglas" <s_sourceforge@nedprod.com>
To:        freebsd-threads@freebsd.org
Subject:   Is select() a thread cancellation point?
Message-ID:  <41F806DA.5314.3ABF7764@localhost>

next in thread | raw e-mail | index | archive | help
According to:

http://lists.freebsd.org/pipermail/freebsd-threads/2004-
October/002572.html

... 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.

Cheers,
Niall





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41F806DA.5314.3ABF7764>