Date: Mon, 28 Aug 2006 04:52:50 +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/lib/libthr/thread thr_create.c thr_init.c thr_mutex.c thr_private.h Message-ID: <200608280452.k7S4qoFE059295@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
davidxu 2006-08-28 04:52:50 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_create.c thr_init.c thr_mutex.c thr_private.h Log: Use umutex APIs to implement pthread_mutex, member pp_mutexq is added into pthread structure to keep track of locked PTHREAD_PRIO_PROTECT mutex, no real mutex code is changed, the mutex locking and unlocking code should has same performance as before. Revision Changes Path 1.33 +1 -0 src/lib/libthr/thread/thr_create.c 1.39 +1 -0 src/lib/libthr/thread/thr_init.c 1.46 +100 -55 src/lib/libthr/thread/thr_mutex.c 1.69 +14 -18 src/lib/libthr/thread/thr_private.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608280452.k7S4qoFE059295>