[glib/glib-2-36] gbitlock: fix this to not unconditionally use futex emulation
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-36] gbitlock: fix this to not unconditionally use futex emulation
- Date: Sun, 5 May 2013 01:13:01 +0000 (UTC)
commit 879692b287924d85baf258ddf4c0d4156c9916a6
Author: Dan Winship <danw gnome org>
Date: Thu May 2 10:14:57 2013 -0400
gbitlock: fix this to not unconditionally use futex emulation
Ryan accidentally committed some debugging code a long time ago,
causing this file to always use futex emulation even when real futex
support was available. I noticed this a while later and pointed it out
to him, and assumed he was going to fix it, but I guess he assumed I
was going to fix it, and then neither of us did...
https://bugzilla.gnome.org/show_bug.cgi?id=699500
glib/gbitlock.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gbitlock.c b/glib/gbitlock.c
index 89e0071..e183d39 100644
--- a/glib/gbitlock.c
+++ b/glib/gbitlock.c
@@ -32,8 +32,8 @@
#include "gthreadprivate.h"
-#undef HAVE_FUTEX
#ifdef G_BIT_LOCK_FORCE_FUTEX_EMULATION
+#undef HAVE_FUTEX
#endif
#ifndef HAVE_FUTEX
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]