summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-09 02:45:42 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-09 02:45:42 +0000
commit290e2375ab94332ff3c69001cf7cf75f7a7b16e6 (patch)
treeae4c119ee560f143539766b66c303eaac7ac09c5 /libpthread/linuxthreads
parent43014917a316b581cca09dbc32c04cbdb517ffda (diff)
newer linuxthreads renamed the function invalid_handle() to nonexisting_handle()
Diffstat (limited to 'libpthread/linuxthreads')
-rw-r--r--libpthread/linuxthreads/cancel.c2
-rw-r--r--libpthread/linuxthreads/join.c4
-rw-r--r--libpthread/linuxthreads/manager.c2
-rw-r--r--libpthread/linuxthreads/pthread.c4
-rw-r--r--libpthread/linuxthreads/signals.c2
5 files changed, 7 insertions, 7 deletions
diff --git a/libpthread/linuxthreads/cancel.c b/libpthread/linuxthreads/cancel.c
index c6b5f94f9..333925ef8 100644
--- a/libpthread/linuxthreads/cancel.c
+++ b/libpthread/linuxthreads/cancel.c
@@ -73,7 +73,7 @@ int pthread_cancel(pthread_t thread)
int already_canceled;
__pthread_lock(&handle->h_lock, NULL);
- if (invalid_handle(handle, thread)) {
+ if (nonexisting_handle(handle, thread)) {
__pthread_unlock(&handle->h_lock);
return ESRCH;
}
diff --git a/libpthread/linuxthreads/join.c b/libpthread/linuxthreads/join.c
index 5aeec6a20..83761e199 100644
--- a/libpthread/linuxthreads/join.c
+++ b/libpthread/linuxthreads/join.c
@@ -124,7 +124,7 @@ int pthread_join(pthread_t thread_id, void ** thread_return)
extr.pu_extricate_func = join_extricate_func;
__pthread_lock(&handle->h_lock, self);
- if (invalid_handle(handle, thread_id)) {
+ if (nonexisting_handle(handle, thread_id)) {
__pthread_unlock(&handle->h_lock);
return ESRCH;
}
@@ -190,7 +190,7 @@ int pthread_detach(pthread_t thread_id)
pthread_descr th;
__pthread_lock(&handle->h_lock, NULL);
- if (invalid_handle(handle, thread_id)) {
+ if (nonexisting_handle(handle, thread_id)) {
__pthread_unlock(&handle->h_lock);
return ESRCH;
}
diff --git a/libpthread/linuxthreads/manager.c b/libpthread/linuxthreads/manager.c
index 585789e22..78d5336d5 100644
--- a/libpthread/linuxthreads/manager.c
+++ b/libpthread/linuxthreads/manager.c
@@ -815,7 +815,7 @@ static void pthread_handle_free(pthread_t th_id)
pthread_descr th;
__pthread_lock(&handle->h_lock, NULL);
- if (invalid_handle(handle, th_id)) {
+ if (nonexisting_handle(handle, th_id)) {
/* pthread_reap_children has deallocated the thread already,
nothing needs to be done */
__pthread_unlock(&handle->h_lock);
diff --git a/libpthread/linuxthreads/pthread.c b/libpthread/linuxthreads/pthread.c
index 4027d1b13..5b038acb8 100644
--- a/libpthread/linuxthreads/pthread.c
+++ b/libpthread/linuxthreads/pthread.c
@@ -632,7 +632,7 @@ int pthread_setschedparam(pthread_t thread, int policy,
pthread_descr th;
__pthread_lock(&handle->h_lock, NULL);
- if (invalid_handle(handle, thread)) {
+ if (nonexisting_handle(handle, thread)) {
__pthread_unlock(&handle->h_lock);
return ESRCH;
}
@@ -655,7 +655,7 @@ int pthread_getschedparam(pthread_t thread, int *policy,
int pid, pol;
__pthread_lock(&handle->h_lock, NULL);
- if (invalid_handle(handle, thread)) {
+ if (nonexisting_handle(handle, thread)) {
__pthread_unlock(&handle->h_lock);
return ESRCH;
}
diff --git a/libpthread/linuxthreads/signals.c b/libpthread/linuxthreads/signals.c
index fbb1db590..0174ec41c 100644
--- a/libpthread/linuxthreads/signals.c
+++ b/libpthread/linuxthreads/signals.c
@@ -64,7 +64,7 @@ int pthread_kill(pthread_t thread, int signo)
int pid;
__pthread_lock(&handle->h_lock, NULL);
- if (invalid_handle(handle, thread)) {
+ if (nonexisting_handle(handle, thread)) {
__pthread_unlock(&handle->h_lock);
return ESRCH;
}