summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_affinity.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't compare thread pointers again.davidxu2010-09-131-3/+3
|
* PS_DEAD state needs not be checked because _thr_find_thread() has alreadydavidxu2010-09-131-4/+0
| | | | checked it.
* Convert thread list lock from mutex to rwlock.davidxu2010-09-131-7/+14
|
* Avoid various shadowed variables. libthr is now almost WARNS=4 clean exceptdelphij2008-04-231-5/+5
| | | | | | for some const dequalifiers that needs more careful investigation. Ok'ed by: davidxu
* Non-portable functions are in pthread_np.h, fix compiling problem.davidxu2008-04-021-1/+1
|
* if passed thread pointer is equal to current thread, pass -1 to kerneldavidxu2008-03-191-11/+19
| | | | to speed up searching.
* Implement functions pthread_getaffinity_np and pthread_setaffinity_np todavidxu2008-03-031-0/+74
get and set thread's cpu affinity mask.
OpenPOWER on IntegriCloud