cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.h
Attilio Rao
attilio at FreeBSD.org
Tue Apr 1 13:31:55 PDT 2008
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
More information about the cvs-src
mailing list