Author: jilles Date: Tue Jun 11 21:40:20 2013 New Revision: 251639 URL: http://svnweb.freebsd.org/changeset/base/251639
Log: pthread_testcancel(3): Update list of cancellation points. This should be a fairly complete list of cancellation points in libc, libthr and librt, including standard as well as non-standard functions. Modified: head/share/man/man3/pthread_testcancel.3 Modified: head/share/man/man3/pthread_testcancel.3 ============================================================================== --- head/share/man/man3/pthread_testcancel.3 Tue Jun 11 21:20:23 2013 (r251638) +++ head/share/man/man3/pthread_testcancel.3 Tue Jun 11 21:40:20 2013 (r251639) @@ -1,5 +1,5 @@ .\" $FreeBSD$ -.Dd January 17, 1999 +.Dd June 11, 2013 .Dt PTHREAD_TESTCANCEL 3 .Os .Sh NAME @@ -100,28 +100,59 @@ type will be in effect. .Ss Cancellation Points Cancellation points will occur when a thread is executing the following functions: +.Fn accept , +.Fn accept4 , +.Fn aio_suspend , +.Fn connect , .Fn close , .Fn creat , -.Fn fcntl , .Fn fsync , +.Fn mq_receive , +.Fn mq_send , +.Fn mq_timedreceive , +.Fn mq_timedsend , .Fn msync , .Fn nanosleep , .Fn open , +.Fn openat , .Fn pause , +.Fn poll , +.Fn pselect , .Fn pthread_cond_timedwait , .Fn pthread_cond_wait , .Fn pthread_join , .Fn pthread_testcancel , .Fn read , -.Fn sigwaitinfo , +.Fn readv , +.Fn recv , +.Fn recvfrom , +.Fn recvmsg , +.Fn select , +.Fn sem_timedwait , +.Fn sem_wait , +.Fn send , +.Fn sendmsg , +.Fn sendto , .Fn sigsuspend , +.Fn sigtimedwait , +.Fn sigwaitinfo , .Fn sigwait , .Fn sleep , .Fn system , .Fn tcdrain , +.Fn usleep , .Fn wait , +.Fn wait3 , +.Fn wait4 , .Fn waitpid , -.Fn write . +.Fn write , +.Fn writev . +The +.Fn fcntl +function is a cancellation point if +.Fa cmd +is +.Dv F_SETLKW . .Sh RETURN VALUES If successful, the .Fn pthread_setcancelstate @@ -201,6 +232,8 @@ The .Fn pthread_testcancel function conforms to .St -p1003.1-96 . +The standard allows implementations to make many more functions +cancellation points. .Sh AUTHORS This manual page was written by .An David Leonard Aq d...@openbsd.org _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"