summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/Makefile
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>1999-11-28 05:38:13 +0000
committeralfred <alfred@FreeBSD.org>1999-11-28 05:38:13 +0000
commite7efcb5302ff3b4faef7cf619f51a4b4a509f09a (patch)
tree295e248e2503f8c817b16353f285d30439bf4bf4 /lib/libc_r/Makefile
parentdff67f0b84733be29e807fc281e817bc8639fd70 (diff)
downloadFreeBSD-src-e7efcb5302ff3b4faef7cf619f51a4b4a509f09a.zip
FreeBSD-src-e7efcb5302ff3b4faef7cf619f51a4b4a509f09a.tar.gz
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
Diffstat (limited to 'lib/libc_r/Makefile')
-rw-r--r--lib/libc_r/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc_r/Makefile b/lib/libc_r/Makefile
index 28ce615..87110f0 100644
--- a/lib/libc_r/Makefile
+++ b/lib/libc_r/Makefile
@@ -15,6 +15,9 @@ CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE -I${.CURDIR}/uthread
# thread locking.
CFLAGS+=-D_LOCK_DEBUG
+# enable extra internal consistancy checks
+# CFLAGS+=-D_PTHREADS_INVARIANTS
+
AINC= -I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/uthread
PRECIOUSLIB= yes
@@ -25,11 +28,12 @@ PRECIOUSLIB= yes
HIDDEN_SYSCALLS= accept.o bind.o close.o connect.o dup.o dup2.o \
execve.o fchflags.o fchmod.o fchown.o fcntl.o \
flock.o fpathconf.o fstat.o fstatfs.o fsync.o getdirentries.o \
- getpeername.o getsockname.o getsockopt.o ioctl.o listen.o \
- nanosleep.o nfssvc.o open.o poll.o read.o readv.o recvfrom.o \
+ getlogin.o getpeername.o getsockname.o getsockopt.o ioctl.o listen.o \
+ msync.o nanosleep.o nfssvc.o open.o poll.o read.o readv.o recvfrom.o \
recvmsg.o sched_yield.o select.o sendmsg.o sendto.o \
setsockopt.o shutdown.o sigaction.o sigaltstack.o \
- signanosleep.o sigpending.o sigprocmask.o sigsuspend.o socket.o \
+ signanosleep.o sigpending.o sigprocmask.o sigreturn.o sigsetmask.o \
+ sigsuspend.o socket.o \
socketpair.o wait4.o write.o writev.o
.include "${.CURDIR}/../libc/Makefile.inc"
OpenPOWER on IntegriCloud