This of course should return TRUE in a program with a thread-disabled
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Thu, 25 Nov 1999 13:47:55 +0000 (13:47 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Thu, 25 Nov 1999 13:47:55 +0000 (13:47 +0000)
1999-11-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* glib.h (G_TRYLOCK): This of course should return TRUE in a
program with a thread-disabled GLib.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib.h
glib/glib.h

index 5da22a5..ba135d3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-11-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * glib.h (G_TRYLOCK): This of course should return TRUE in a
+       program with a thread-disabled GLib.
+
 1999-11-18  Tor Lillqvist  <tml@iki.fi>
 
        * glib.def: g_strjoin was missing.
index 5da22a5..ba135d3 100644 (file)
@@ -1,3 +1,8 @@
+1999-11-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * glib.h (G_TRYLOCK): This of course should return TRUE in a
+       program with a thread-disabled GLib.
+
 1999-11-18  Tor Lillqvist  <tml@iki.fi>
 
        * glib.def: g_strjoin was missing.
index 5da22a5..ba135d3 100644 (file)
@@ -1,3 +1,8 @@
+1999-11-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * glib.h (G_TRYLOCK): This of course should return TRUE in a
+       program with a thread-disabled GLib.
+
 1999-11-18  Tor Lillqvist  <tml@iki.fi>
 
        * glib.def: g_strjoin was missing.
index 5da22a5..ba135d3 100644 (file)
@@ -1,3 +1,8 @@
+1999-11-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * glib.h (G_TRYLOCK): This of course should return TRUE in a
+       program with a thread-disabled GLib.
+
 1999-11-18  Tor Lillqvist  <tml@iki.fi>
 
        * glib.def: g_strjoin was missing.
index 5da22a5..ba135d3 100644 (file)
@@ -1,3 +1,8 @@
+1999-11-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * glib.h (G_TRYLOCK): This of course should return TRUE in a
+       program with a thread-disabled GLib.
+
 1999-11-18  Tor Lillqvist  <tml@iki.fi>
 
        * glib.def: g_strjoin was missing.
index 5da22a5..ba135d3 100644 (file)
@@ -1,3 +1,8 @@
+1999-11-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * glib.h (G_TRYLOCK): This of course should return TRUE in a
+       program with a thread-disabled GLib.
+
 1999-11-18  Tor Lillqvist  <tml@iki.fi>
 
        * glib.def: g_strjoin was missing.
index 5da22a5..ba135d3 100644 (file)
@@ -1,3 +1,8 @@
+1999-11-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * glib.h (G_TRYLOCK): This of course should return TRUE in a
+       program with a thread-disabled GLib.
+
 1999-11-18  Tor Lillqvist  <tml@iki.fi>
 
        * glib.def: g_strjoin was missing.
index 5da22a5..ba135d3 100644 (file)
@@ -1,3 +1,8 @@
+1999-11-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * glib.h (G_TRYLOCK): This of course should return TRUE in a
+       program with a thread-disabled GLib.
+
 1999-11-18  Tor Lillqvist  <tml@iki.fi>
 
        * glib.def: g_strjoin was missing.
diff --git a/glib.h b/glib.h
index 616974c..b94c945 100644 (file)
--- a/glib.h
+++ b/glib.h
@@ -3124,7 +3124,7 @@ extern void glib_dummy_decl (void);
 #  define G_LOCK_EXTERN(name)          extern void glib_dummy_decl (void)
 #  define G_LOCK(name)
 #  define G_UNLOCK(name)
-#  define G_TRYLOCK(name)              (FALSE)
+#  define G_TRYLOCK(name)              (TRUE)
 #endif /* !G_THREADS_ENABLED */
 
 #ifdef __cplusplus
index 616974c..b94c945 100644 (file)
@@ -3124,7 +3124,7 @@ extern void glib_dummy_decl (void);
 #  define G_LOCK_EXTERN(name)          extern void glib_dummy_decl (void)
 #  define G_LOCK(name)
 #  define G_UNLOCK(name)
-#  define G_TRYLOCK(name)              (FALSE)
+#  define G_TRYLOCK(name)              (TRUE)
 #endif /* !G_THREADS_ENABLED */
 
 #ifdef __cplusplus