Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't compare thread pointers again. | davidxu | 2010-09-13 | 1 | -3/+3 |
| | |||||
* | PS_DEAD state needs not be checked because _thr_find_thread() has already | davidxu | 2010-09-13 | 1 | -4/+0 |
| | | | | checked it. | ||||
* | Convert thread list lock from mutex to rwlock. | davidxu | 2010-09-13 | 1 | -7/+14 |
| | |||||
* | Avoid various shadowed variables. libthr is now almost WARNS=4 clean except | delphij | 2008-04-23 | 1 | -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. | davidxu | 2008-04-02 | 1 | -1/+1 |
| | |||||
* | if passed thread pointer is equal to current thread, pass -1 to kernel | davidxu | 2008-03-19 | 1 | -11/+19 |
| | | | | to speed up searching. | ||||
* | Implement functions pthread_getaffinity_np and pthread_setaffinity_np to | davidxu | 2008-03-03 | 1 | -0/+74 |
get and set thread's cpu affinity mask. |