Date: Sat, 27 Nov 1999 21:38:13 -0800 (PST) From: Alfred Perlstein <alfred@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/include dirent.h pthread.h src/lib/libc_r Makefile src/lib/libc_r/man pthread_cancel.3 pthread_testcancel.3 Makefile.inc src/lib/libc_r/uthread uthread_cancel.c uthread_fchflags.c uthread_msync.c Makefile.inc pthread_private.h ... Message-ID: <199911280538.VAA43486@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
alfred 1999/11/27 21:38:13 PST Modified files: include dirent.h pthread.h lib/libc_r Makefile lib/libc_r/man Makefile.inc lib/libc_r/uthread Makefile.inc pthread_private.h uthread_attr_getinheritsched.c uthread_attr_getschedparam.c uthread_attr_getschedpolicy.c uthread_attr_getscope.c uthread_close.c uthread_cond.c uthread_create.c uthread_exit.c uthread_fcntl.c uthread_fd.c uthread_file.c uthread_fsync.c uthread_getschedparam.c uthread_init.c uthread_join.c uthread_kern.c uthread_mutex.c uthread_nanosleep.c uthread_open.c uthread_read.c uthread_setschedparam.c uthread_sigwait.c uthread_wait4.c uthread_write.c lib/libc/gen readdir.c Added files: lib/libc_r/man pthread_cancel.3 pthread_testcancel.3 lib/libc_r/uthread uthread_cancel.c uthread_fchflags.c uthread_msync.c Log: add pthread_cancel, obtained from OpenBSD. eischen (Daniel Eischen) added wrappers to protect against cancled threads orphaning internal resources. the cancelability code is still a bit fuzzy but works for test programs of my own, OpenBSD's and some examples from ORA's books. add readdir_r to both libc and libc_r add some 'const' attributes to function parameters Reviewed by: eischen, jasone Revision Changes Path 1.4 +4 -0 src/include/dirent.h 1.15 +15 -8 src/include/pthread.h 1.22 +8 -4 src/lib/libc_r/Makefile 1.7 +7 -2 src/lib/libc_r/man/Makefile.inc 1.20 +4 -1 src/lib/libc_r/uthread/Makefile.inc 1.28 +28 -7 src/lib/libc_r/uthread/pthread_private.h 1.4 +2 -2 src/lib/libc_r/uthread/uthread_attr_getinheritsched.c 1.4 +2 -2 src/lib/libc_r/uthread/uthread_attr_getschedparam.c 1.4 +2 -2 src/lib/libc_r/uthread/uthread_attr_getschedpolicy.c 1.4 +2 -2 src/lib/libc_r/uthread/uthread_attr_getscope.c 1.8 +4 -2 src/lib/libc_r/uthread/uthread_close.c 1.19 +73 -31 src/lib/libc_r/uthread/uthread_cond.c 1.20 +4 -3 src/lib/libc_r/uthread/uthread_create.c 1.13 +36 -6 src/lib/libc_r/uthread/uthread_exit.c 1.9 +4 -1 src/lib/libc_r/uthread/uthread_fcntl.c 1.14 +194 -24 src/lib/libc_r/uthread/uthread_fd.c 1.10 +110 -11 src/lib/libc_r/uthread/uthread_file.c 1.6 +3 -1 src/lib/libc_r/uthread/uthread_fsync.c 1.4 +3 -2 src/lib/libc_r/uthread/uthread_getschedparam.c 1.19 +6 -1 src/lib/libc_r/uthread/uthread_init.c 1.10 +30 -3 src/lib/libc_r/uthread/uthread_join.c 1.24 +21 -8 src/lib/libc_r/uthread/uthread_kern.c 1.17 +45 -4 src/lib/libc_r/uthread/uthread_mutex.c 1.11 +3 -1 src/lib/libc_r/uthread/uthread_nanosleep.c 1.7 +8 -5 src/lib/libc_r/uthread/uthread_open.c 1.9 +8 -2 src/lib/libc_r/uthread/uthread_read.c 1.4 +3 -2 src/lib/libc_r/uthread/uthread_setschedparam.c 1.11 +4 -1 src/lib/libc_r/uthread/uthread_sigwait.c 1.6 +3 -1 src/lib/libc_r/uthread/uthread_wait4.c 1.13 +8 -3 src/lib/libc_r/uthread/uthread_write.c 1.3 +44 -0 src/lib/libc/gen/readdir.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911280538.VAA43486>