Have lwkt_reltoken() return the generation number to facilitate checks
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 15 Oct 2003 23:27:06 +0000 (23:27 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 15 Oct 2003 23:27:06 +0000 (23:27 +0000)
commit7ba9c17ca3d96d761f1d56ec25797f134236889d
tree800f3a1b95461e5d509e932f81a6fc3a25328bf0
parent1301b4d8106da328503ee661e812919cb061df9c
Have lwkt_reltoken() return the generation number to facilitate checks
for stolen tokens.  Cleanup, optimize, and better document lwkt_gentoken().
sys/kern/lwkt_thread.c
sys/sys/thread.h