summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_affinity.c
Commit message (Collapse)AuthorAgeFilesLines
* 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