cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.h
Robert Watson
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)
sys/kern kern_rwlock.c
sys/sys rwlock.h
Log:
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
1.28.4.4 +48 -0 src/sys/kern/kern_rwlock.c
1.14.4.1 +4 -2 src/sys/sys/rwlock.h
More information about the cvs-src
mailing list