davidxu 2008-03-19 06:38:21 UTC
FreeBSD src repository
Modified files:
lib/libthr/thread thr_affinity.c
Log:
if passed thread pointer is equal to current thread, pass -1 to kernel
to speed up searching.
Revision Changes Path
1.2 +19 -11 src/lib/libthr/thread/thr_affinity.c