Date: Mon, 9 Jun 2008 01:14:10 +0000 (UTC) From: David Xu <davidxu@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/include pthread.h src/lib/libc/include namespace.h un-namespace.h src/lib/libthr pthread.map src/lib/libthr/thread thr_clean.c thr_private.h Message-ID: <200806090118.m591IqkN039870@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
davidxu 2008-06-09 01:14:10 UTC FreeBSD src repository Modified files: include pthread.h lib/libc/include namespace.h un-namespace.h lib/libthr pthread.map lib/libthr/thread thr_clean.c thr_private.h Log: SVN rev 179662 on 2008-06-09 01:14:10Z by davidxu Make pthread_cleanup_push() and pthread_cleanup_pop() as a pair of macros, use stack space to keep cleanup information, this eliminates overhead of calling malloc() and free() in thread library. Discussed on: thread@ Revision Changes Path 1.43 +21 -2 src/include/pthread.h 1.24 +0 -2 src/lib/libc/include/namespace.h 1.21 +0 -2 src/lib/libc/include/un-namespace.h 1.30 +2 -0 src/lib/libthr/pthread.map 1.6 +39 -16 src/lib/libthr/thread/thr_clean.c 1.95 +9 -6 src/lib/libthr/thread/thr_private.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806090118.m591IqkN039870>