diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-02-15 17:20:33 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-02-15 17:20:33 +0000 |
commit | 683040c3b2c7dc2bc08045202a0a0b46d143b3cb (patch) | |
tree | fcd73510f2bcfcdf57078331d800db4217db759b /nptl/pthread_create.c | |
parent | b007ce7cc6971e4bd4cd91c558efd3d4603d941d (diff) | |
download | glibc-683040c3b2c7dc2bc08045202a0a0b46d143b3cb.zip glibc-683040c3b2c7dc2bc08045202a0a0b46d143b3cb.tar.gz glibc-683040c3b2c7dc2bc08045202a0a0b46d143b3cb.tar.bz2 |
* sysdeps/unix/sysv/linux/not-cancel.h (__openat_not_cancel,
__openat64_not_cancel): Remove prototypes.
(__openat_nocancel, __openat64_nocancel): New prototypes or defines.
(openat_not_cancel, openat_not_cancel_3, openat64_not_cancel,
openat64_not_cancel_3): Use them.
Diffstat (limited to 'nptl/pthread_create.c')
-rw-r--r-- | nptl/pthread_create.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index b1253b2..f3d90ec 100644 --- a/nptl/pthread_create.c +++ b/nptl/pthread_create.c @@ -324,17 +324,12 @@ start_thread (void *arg) ((char *) robust - offsetof (struct __pthread_mutex_s, __list)); robust = robust->__next; - assert (lll_mutex_islocked (this->__lock)); - this->__count = 0; - --this->__nusers; - assert (this->__owner != PTHREAD_MUTEX_NOTRECOVERABLE); - this->__owner = PTHREAD_MUTEX_OWNERDEAD; this->__list.__next = NULL; #ifdef __PTHREAD_MUTEX_HAVE_PREV this->__list.__prev = NULL; #endif - lll_mutex_unlock (this->__lock); + lll_robust_mutex_dead (this->__lock); } while (robust != &pd->robust_list); |