summaryrefslogtreecommitdiff
path: root/patches/glibc/linuxthreads-2.1.3/rh62-05-glibc-2.1.3-pthread.patch
blob: 081bc2988c661bb03ff650f13c56aca5483c50b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2000-08-03  Ulrich Drepper  <drepper@redhat.com>

	* pthread.c (__pthread_set_own_extricate_if): Remove locking.

--- glibc-2.1.3/linuxthreads/pthread.c.jj	Wed Mar 22 22:26:01 2000
+++ glibc-2.1.3/linuxthreads/pthread.c	Fri Aug 25 09:37:26 2000
@@ -775,9 +775,7 @@ weak_alias (__pthread_getconcurrency, pt
 
 void __pthread_set_own_extricate_if(pthread_descr self, pthread_extricate_if *peif)
 {
-  __pthread_lock(self->p_lock, self);
   THREAD_SETMEM(self, p_extricate, peif);
-  __pthread_unlock(self->p_lock);
 }
 
 /* Primitives for controlling thread execution */