mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-06 07:58:44 +02:00
Added errorcheck mutexes. These are activated through the preprocessor
2000-09-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in, glib.h: Added errorcheck mutexes. These are activated through the preprocessor symbol G_ERRORCHECK_MUTEXES. Need to add an extra word to StaticMutex in order to achieve this. g_(static_)mutex_* functions instrument the mutex operations with mutex name and location, when compiled with -DG_ERRORCHECK_MUTEXES. g_thread_init activates the errorcheck mutexes, when compiled with -DG_ERRORCHECK_MUTEXES. * gthread/gthread-impl.c: Added errorcheck mutexes. New exported function g_thread_init_with_errorcheck_mutexes, which is called instead of g_thread_init, when compiled with -DG_ERRORCHECK_MUTEXES. New static functions g_mutex_(new|lock|trylock|unlock|free)_errorcheck_impl to implement errorcheck mutexes. * gthread/gthread-posix.impl.c, gthread/gthread-solaris-impl.c: Define the size of a mutex.
This commit is contained in:
committed by
Sebastian Wilhelmi
parent
349eaa6a25
commit
7633908c93
@@ -1,3 +1,13 @@
|
||||
2000-09-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* configure.in, glib.h: Added errorcheck mutexes. These are
|
||||
activated through the preprocessor symbol
|
||||
G_ERRORCHECK_MUTEXES. Need to add an extra word to StaticMutex in
|
||||
order to achieve this. g_(static_)mutex_* functions instrument the
|
||||
mutex operations with mutex name and location, when compiled with
|
||||
-DG_ERRORCHECK_MUTEXES. g_thread_init activates the errorcheck
|
||||
mutexes, when compiled with -DG_ERRORCHECK_MUTEXES.
|
||||
|
||||
2000-09-28 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* glib.h (GThreadPriority): fix indentation
|
||||
|
Reference in New Issue
Block a user