cvs commit: src/sys/sys thread.h src/sys/kern lwkt_thread.c lwkt_token.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Feb 29 22:22:26 PST 2008
dillon 2008/02/29 22:21:28 PST
DragonFly src repository
Modified files:
sys/sys thread.h
sys/kern lwkt_thread.c lwkt_token.c
Log:
Clean up the token code and implement lwkt_token_is_stale(). Users of
the token code are now able to detect if the token was acquired and released
by someone else while they were blocked.
Submitted-by: Michael Neumann <mneumann at ntecs.de>
Revision Changes Path
1.91 +14 -16 src/sys/sys/thread.h
1.112 +4 -3 src/sys/kern/lwkt_thread.c
1.30 +152 -109 src/sys/kern/lwkt_token.c
http://www.dragonflybsd.org/cvsweb/src/sys/sys/thread.h.diff?r1=1.90&r2=1.91&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_thread.c.diff?r1=1.111&r2=1.112&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_token.c.diff?r1=1.29&r2=1.30&f=u
More information about the Commits
mailing list