Fixed stupid bug, that made g_static_mutex_lock(*mutex) not work as

1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Fixed stupid bug, that made
	g_static_mutex_lock(*mutex) not work as expected.
This commit is contained in:
Sebastian Wilhelmi 1998-12-16 10:32:12 +00:00 committed by Sebastian Wilhelmi
parent 2e57a36438
commit c9cc6c858e
9 changed files with 26 additions and 2 deletions

View File

@ -1,5 +1,8 @@
1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Fixed stupid bug, that made
g_static_mutex_lock(*mutex) not work as expected.
* docs/glib-config.1: Updated to reflect the existence of gthread.
* gmain.c (g_main_poll_add_unlocking): Changed

View File

@ -1,5 +1,8 @@
1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Fixed stupid bug, that made
g_static_mutex_lock(*mutex) not work as expected.
* docs/glib-config.1: Updated to reflect the existence of gthread.
* gmain.c (g_main_poll_add_unlocking): Changed

View File

@ -1,5 +1,8 @@
1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Fixed stupid bug, that made
g_static_mutex_lock(*mutex) not work as expected.
* docs/glib-config.1: Updated to reflect the existence of gthread.
* gmain.c (g_main_poll_add_unlocking): Changed

View File

@ -1,5 +1,8 @@
1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Fixed stupid bug, that made
g_static_mutex_lock(*mutex) not work as expected.
* docs/glib-config.1: Updated to reflect the existence of gthread.
* gmain.c (g_main_poll_add_unlocking): Changed

View File

@ -1,5 +1,8 @@
1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Fixed stupid bug, that made
g_static_mutex_lock(*mutex) not work as expected.
* docs/glib-config.1: Updated to reflect the existence of gthread.
* gmain.c (g_main_poll_add_unlocking): Changed

View File

@ -1,5 +1,8 @@
1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Fixed stupid bug, that made
g_static_mutex_lock(*mutex) not work as expected.
* docs/glib-config.1: Updated to reflect the existence of gthread.
* gmain.c (g_main_poll_add_unlocking): Changed

View File

@ -1,5 +1,8 @@
1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Fixed stupid bug, that made
g_static_mutex_lock(*mutex) not work as expected.
* docs/glib-config.1: Updated to reflect the existence of gthread.
* gmain.c (g_main_poll_add_unlocking): Changed

View File

@ -1,5 +1,8 @@
1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Fixed stupid bug, that made
g_static_mutex_lock(*mutex) not work as expected.
* docs/glib-config.1: Updated to reflect the existence of gthread.
* gmain.c (g_main_poll_add_unlocking): Changed

View File

@ -837,8 +837,8 @@ struct _GStaticMutex
};
#define G_STATIC_MUTEX_INIT { $g_mutex_default_init, NULL }
#define g_static_mutex_get_mutex(mutex) \
( g_thread_use_default_impl ? (GMutex*)&mutex.default_mutex : \
g_static_mutex_get_mutex_impl(&mutex.runtime_mutex) )
( g_thread_use_default_impl ? (GMutex*)&(mutex).default_mutex : \
g_static_mutex_get_mutex_impl(&(mutex).runtime_mutex) )
outfile_EOF
else
cat >>$outfile <<outfile_EOF