Date: Tue, 4 Nov 2003 12:04:45 -0800 (PST) From: Daniel Eischen <deischen@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libpthread pthread.mapsrc/lib/libpthread/thread Makefile.inc thr_fork.c thr_init.c thr_kern.c thr_private.h Message-ID: <200311042004.hA4K4jnQ060164@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311042004.hA4K4jnQ060164>