History log of /freebsd-9.3-release/lib/libthr/thread/thr_affinity.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

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

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 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.