cvs commit: src/sys/sys systm.h src/sys/kern kern_synch.c
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Wed Mar 5 04:46:07 PST 2008
sephe 2008/03/05 04:44:43 PST
DragonFly src repository
Modified files:
sys/sys systm.h
sys/kern kern_synch.c
Log:
Add serialize_sleep(), which will atomically release the serializer
currently being held and tsleep on the ident, then reacquire the
serializer upon function returning.
Proper function name is suggeested by corecode@, aggelos@, tgen@ and
dillon@
Reviewed-by: tgen@, dillon@
Revision Changes Path
1.78 +3 -0 src/sys/sys/systm.h
1.89 +25 -0 src/sys/kern/kern_synch.c
http://www.dragonflybsd.org/cvsweb/src/sys/sys/systm.h.diff?r1=1.77&r2=1.78&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_synch.c.diff?r1=1.88&r2=1.89&f=u
More information about the Commits
mailing list