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.
This commit is contained in:
Sebastian Wilhelmi 1999-11-25 13:47:55 +00:00 committed by Sebastian Wilhelmi
parent 430428d1c9
commit c54892b11b
10 changed files with 42 additions and 2 deletions

View 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> 1999-11-18 Tor Lillqvist <tml@iki.fi>
* glib.def: g_strjoin was missing. * glib.def: g_strjoin was missing.

View 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> 1999-11-18 Tor Lillqvist <tml@iki.fi>
* glib.def: g_strjoin was missing. * glib.def: g_strjoin was missing.

View 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> 1999-11-18 Tor Lillqvist <tml@iki.fi>
* glib.def: g_strjoin was missing. * glib.def: g_strjoin was missing.

View 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> 1999-11-18 Tor Lillqvist <tml@iki.fi>
* glib.def: g_strjoin was missing. * glib.def: g_strjoin was missing.

View 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> 1999-11-18 Tor Lillqvist <tml@iki.fi>
* glib.def: g_strjoin was missing. * glib.def: g_strjoin was missing.

View 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> 1999-11-18 Tor Lillqvist <tml@iki.fi>
* glib.def: g_strjoin was missing. * glib.def: g_strjoin was missing.

View 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> 1999-11-18 Tor Lillqvist <tml@iki.fi>
* glib.def: g_strjoin was missing. * glib.def: g_strjoin was missing.

View 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> 1999-11-18 Tor Lillqvist <tml@iki.fi>
* glib.def: g_strjoin was missing. * glib.def: g_strjoin was missing.

2
glib.h
View 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_EXTERN(name) extern void glib_dummy_decl (void)
# define G_LOCK(name) # define G_LOCK(name)
# define G_UNLOCK(name) # define G_UNLOCK(name)
# define G_TRYLOCK(name) (FALSE) # define G_TRYLOCK(name) (TRUE)
#endif /* !G_THREADS_ENABLED */ #endif /* !G_THREADS_ENABLED */
#ifdef __cplusplus #ifdef __cplusplus

View 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_EXTERN(name) extern void glib_dummy_decl (void)
# define G_LOCK(name) # define G_LOCK(name)
# define G_UNLOCK(name) # define G_UNLOCK(name)
# define G_TRYLOCK(name) (FALSE) # define G_TRYLOCK(name) (TRUE)
#endif /* !G_THREADS_ENABLED */ #endif /* !G_THREADS_ENABLED */
#ifdef __cplusplus #ifdef __cplusplus