cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.h
rwatson at FreeBSD.org
Fri Aug 8 14:36:56 UTC 2008
rwatson 2008-08-08 14:36:21 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
SVN rev 181429 on 2008-08-08 14:36:21Z by rwatson
Merge r177843,178147 from head to stable/7:
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
Trylocks were implemented, remove stale comment
Discussed with: attilio, jhb
Revision Changes Path
22.214.171.124 +48 -0 src/sys/kern/kern_rwlock.c
126.96.36.199 +4 -2 src/sys/sys/rwlock.h
More information about the cvs-all