davidxu 2008-05-30 00:02:59 UTC
FreeBSD src repository
Modified files:
lib/libthr/threadthr_once.c
Log:
Eliminate global mutex by using pthread_once's state field as
a semaphore.
Revision ChangesPath
1.7 +29 -33src/lib/libthr/thread/thr_once.c
davidxu 2008-03-23 02:10:44 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_7)
lib/libthr/threadthr_once.c
Log:
MFC Revision 1.6:
> Use macro THR_CLEANUP_PUSH/POP.
Revision ChangesPath
1.5.2.1 +4 -2 src/lib/libthr/thread/thr_once
davidxu 2007-10-16 07:46:15 UTC
FreeBSD src repository
Modified files:
lib/libthr/threadthr_once.c
Log:
Use macro THR_CLEANUP_PUSH/POP, they are cheaper than
pthread_cleanup_push/pop.
Revision ChangesPath
1.6 +4 -2 src/lib/libthr/thread/thr_once.c