pthreads: shouldn't nanosleep() be a cancellation point ?

Poul-Henning Kamp phk at
Tue Aug 2 09:26:56 GMT 2005

Since sleep() is a cancellation point, shouldn't nanosleep() be as well ?

(this would also cover usleep())

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

More information about the freebsd-current mailing list