Fix pthreads functions that should return ESRCH.
imgtec pointed out that pthread_kill(3) was broken, but most of the other functions that ought to return ESRCH for invalid/exited threads were equally broken. Change-Id: I96347f6195549aee0c72dc39063e6c5d06d2e01f
This commit is contained in:
@@ -151,7 +151,7 @@ int pthread_equal(pthread_t one, pthread_t two);
|
||||
|
||||
int pthread_getschedparam(pthread_t thid, int * policy,
|
||||
struct sched_param * param);
|
||||
int pthread_setschedparam(pthread_t thid, int poilcy,
|
||||
int pthread_setschedparam(pthread_t thid, int policy,
|
||||
struct sched_param const * param);
|
||||
|
||||
int pthread_mutexattr_init(pthread_mutexattr_t *attr);
|
||||
|
Reference in New Issue
Block a user