Date: Tue, 1 Apr 2008 20:31:55 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.h Message-ID: <200804012031.m31KVtKs000176@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2008-04-01 20:31:55 UTC
FreeBSD src repository
Modified files:
sys/kern kern_rwlock.c
sys/sys rwlock.h
Log:
Add rw_try_rlock() and rw_try_wlock() to rwlocks.
These functions try the specified operation (rlocking and wlocking) and
true is returned if the operation completes, false otherwise.
The KPI is enriched by this commit, so __FreeBSD_version bumping and
manpage updating will happen soon.
Requested by: jeff, kris
Revision Changes Path
1.37 +49 -0 src/sys/kern/kern_rwlock.c
1.17 +4 -0 src/sys/sys/rwlock.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804012031.m31KVtKs000176>
