HP-UX Reference (11i v1 00/12) - 3 Library Functions N-Z (vol 7)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/nan.3m
________________________________________________________________
___ ___
p
pthread(3T) pthread(3T)
(Pthread Library)
pthread_cleanup_pop()
,
pthread_cleanup_push()
Register or remove cancellation cleanup handlers.
Cancellation points in the pthread library:
pthread_testcancel() pthread_cond_wait()
pthread_cond_timedwait() pthread_join()
System functions which are always cancellationpoints:
accept() aio_suspend() close() connect()
creat() dup2() *fcntl() fsync()
getdirentries() getmsg() getpmsg() ioctl()
lockf() lockf64() lseek() lseek64()
mq_receive() mq_send() msgrcv() msgsnd()
msync() nanosleep() open() pause()
poll() putmsg() putpmsg() read()
readv() recv() recvfrom() recvmsg()
rename() select() semop() send()
sendmsg() sendto() sigsuspend() sigtimedwait()
sigwait() sigwaitinfo() socket() system()
wait() wait3() waitid() waitpid()
write() writev()
* fcntl() is a cancellation point only with the F_SETLK command.
For the following libc functions, whether the thread is cancelled depends upon what action is performed
while executing the function. If the thread blocks while inside the function, a cancellation point is created
(i.e., the thread may be cancelled). Note: Other libraries may have cancellation points. Check the associ-
ated documentation for details.
blclose() blget() blopen()
blread() blset() catclose()
catgets() catopen() closedir()
closelog() creat64() ctermid()
cuserid() dbm_close() dbm_delete()
dbm_fetch() dbm_firstkey() dbm_nextkey()
dbm_open() dbm_store() dbmclose()
endexportent() endfsent() endgrent()
endhostent() endnetent() endnetgrent()
endprotoent() endpwent() endservent()
endutxent() fclose() fflush()
fgetc() fgetgrent() fgetpos()
fgetpos64() fgetpwent() fgets()
fgetwc() fgetws() fmtmsg()
fopen() fopen64() fprintf()
fputc() fputs() fputwc()
fputws() fread() freopen()
freopen64() fsetpos() fsetpos64()
ftell() ftello() ftello64()
ftw() ftw64() fwrite()
getc() getc_unlocked() getchar()
getchar_unlocked() getcwd() getdate()
getgrent() getgrgid() getgrgid_r()
getgrnam() getgrnam_r() gethostbyaddr()
gethostbyname() gethostent() getlogin()
getlogin_r() getopt() getpass()
HP-UX Release 11i: December 2000 − 3 − Section 3−−633
___
___