public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/patchsets/glibc/2.7: 1518_hppa_glibc-2.7-pthread-join.patch
@ 2008-03-23 15:04 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2008-03-23 15:04 UTC (permalink / raw
  To: gentoo-commits

vapier      08/03/23 15:04:25

  Added:                1518_hppa_glibc-2.7-pthread-join.patch
  Log:
  fix hppa thread joining #213829

Revision  Changes    Path
1.1                  src/patchsets/glibc/2.7/1518_hppa_glibc-2.7-pthread-join.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.7/1518_hppa_glibc-2.7-pthread-join.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/glibc/2.7/1518_hppa_glibc-2.7-pthread-join.patch?rev=1.1&content-type=text/plain

Index: 1518_hppa_glibc-2.7-pthread-join.patch
===================================================================
http://bugs.gentoo.org/213829

2008-03-28 Guy Martin <gmsoft@tuxicoman.be>

	* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h (lll_wait_tid):
	Use shared futex.

--- ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
+++ ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
@@ -325,12 +325,12 @@
    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 *)



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-23 15:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-23 15:04 [gentoo-commits] gentoo commit in src/patchsets/glibc/2.7: 1518_hppa_glibc-2.7-pthread-join.patch Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox