diff options
author | Sebastian Wilhelmi <wilhelmi@ira.uka.de> | 1999-11-25 13:47:55 +0000 |
---|---|---|
committer | Sebastian Wilhelmi <wilhelmi@src.gnome.org> | 1999-11-25 13:47:55 +0000 |
commit | c54892b11bfe2590bee3320914c9df80a81ecc79 (patch) | |
tree | 125c4f67129abcd2b9f0abeb1b82888049e34ee1 /glib.h | |
parent | 430428d1c9114befb9cb0873b0c0f257a40f094b (diff) | |
download | glib-c54892b11bfe2590bee3320914c9df80a81ecc79.tar.gz |
This of course should return TRUE in a program with a thread-disabled
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.
Diffstat (limited to 'glib.h')
-rw-r--r-- | glib.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |