cvs commit: src/lib/libthr/thread thr_affinity.c

[ Available lists | Index of cvs-all | Month of Mar 2008 | Week of 19 Mar 2008 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
David Xu <davidxu@FreeBSD.org>
Date
19 Mar 2008 06:38:22
Subject
cvs commit: src/lib/libthr/thread thr_affinity.c
Message-ID
200803190638.m2J6cLKU059782@repoman.freebsd.org


[ Hide this part ]
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


Elapsed time: 0.239 seconds