History log of /freebsd-10-stable/lib/libthr/thread/thr_affinity.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 212552 13-Sep-2010 davidxu

Don't compare thread pointers again.


# 212539 13-Sep-2010 davidxu

PS_DEAD state needs not be checked because _thr_find_thread() has already
checked it.


# 212536 13-Sep-2010 davidxu

Convert thread list lock from mutex to rwlock.


# 178446 23-Apr-2008 delphij

Avoid various shadowed variables. libthr is now almost WARNS=4 clean except
for some const dequalifiers that needs more careful investigation.

Ok'ed by: davidxu


# 177861 02-Apr-2008 davidxu

Non-portable functions are in pthread_np.h, fix compiling problem.


# 177370 19-Mar-2008 davidxu

if passed thread pointer is equal to current thread, pass -1 to kernel
to speed up searching.


# 176763 03-Mar-2008 davidxu

Implement functions pthread_getaffinity_np and pthread_setaffinity_np to
get and set thread's cpu affinity mask.