cvs commit: src/lib/libpthread pthread.mapsrc/lib/libpthread/thread
Makefile.inc thr_fork.c thr_init.c thr_kern.c thr_private.h
Daniel Eischen
deischen at FreeBSD.org
Tue Nov 4 12:04:46 PST 2003
deischen 2003/11/04 12:04:45 PST
FreeBSD src repository
Modified files:
lib/libpthread pthread.map
lib/libpthread/thread Makefile.inc thr_fork.c thr_init.c
thr_kern.c thr_private.h
Log:
Add an implementation for pthread_atfork().
Aside from the POSIX requirements for pthread_atfork(), when
fork()ing, take the malloc lock to keep malloc state consistent
in the child.
Reviewed by: davidxu
Revision Changes Path
1.7 +2 -0 src/lib/libpthread/pthread.map
1.45 +2 -1 src/lib/libpthread/thread/Makefile.inc
1.33 +39 -4 src/lib/libpthread/thread/thr_fork.c
1.61 +2 -0 src/lib/libpthread/thread/thr_init.c
1.101 +15 -1 src/lib/libpthread/thread/thr_kern.c
1.105 +13 -0 src/lib/libpthread/thread/thr_private.h
More information about the cvs-src
mailing list