]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2008-06-17 Guy Martin <gmsoft@tuxicoman.be>
authorCarlos O'Donell <carlos@systemhalted.org>
Tue, 17 Jun 2008 11:44:25 +0000 (11:44 +0000)
committerCarlos O'Donell <carlos@systemhalted.org>
Tue, 17 Jun 2008 11:44:25 +0000 (11:44 +0000)
[BZ #5957]
* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
Use shared futex in lll_wait_tid().

ChangeLog.hppa
sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h

index 67524bae360271f536b1ad142f731e479ecde9d7..fc76d6d249664d052c9bda1554a4d97be0830115 100644 (file)
@@ -1,3 +1,9 @@
+2008-06-17  Guy Martin  <gmsoft@tuxicoman.be>
+
+       [BZ #5957]
+       * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
+       Use shared futex in lll_wait_tid().
+
 2008-05-12  Aurelien Jarno  <aurelien@aurel32.net>
 
        [BZ #6506]
index ec907aefbf2097815923ed02555bf2285b2951f1..6998a91b64fec1a97223f68c8e587a6a0a28dc28 100644 (file)
@@ -325,12 +325,12 @@ extern int lll_unlock_wake_cb (lll_lock_t *__futex) attribute_hidden;
    thread ID while the clone is running and is reset to zero
    afterwards. */
 #define lll_wait_tid(tid) \
-  do                                           \
-    {                                          \
-      __typeof (tid) __tid;                    \
-      while ((__tid = (tid)) != 0)             \
-        lll_futex_wait (&(tid), __tid, 0);     \
-    }                                          \
+  do                                                   \
+    {                                                  \
+      __typeof (tid) __tid;                            \
+      while ((__tid = (tid)) != 0)                     \
+        lll_futex_wait (&(tid), __tid, LLL_SHARED);    \
+    }                                                  \
   while (0)
 
 extern int __lll_timedwait_tid (int *, const struct timespec *)