DragonFly commits List (threaded) for 2008-02
[
Date Prev][Date Next]
[
Thread Prev][Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/sys thread.h src/sys/kern lwkt_thread.c lwkt_token.c
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@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
[
Date Prev][Date Next]
[
Thread Prev][Thread Next]
[
Date Index][
Thread Index]