Date: Thu, 30 Dec 2004 02:56:17 +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/sys/sys umtx.h src/sys/kern kern_umtx.c Message-ID: <200412300256.iBU2uHuN071595@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
davidxu 2004-12-30 02:56:17 UTC FreeBSD src repository Modified files: sys/sys umtx.h sys/kern kern_umtx.c Log: Make umtx_wait and umtx_wake more like linux futex does, it is more general than previous. It also lets me implement cancelable point in thread library. Also in theory, umtx_lock and umtx_unlock can be implemented by using umtx_wait and umtx_wake, all atomic operations can be done in userland without kernel's casuptr() function. Revision Changes Path 1.25 +9 -41 src/sys/kern/kern_umtx.c 1.9 +7 -9 src/sys/sys/umtx.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412300256.iBU2uHuN071595>