mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-16 12:28:48 +02:00
hack this so it compiles, needs fixing for real.
2001-01-29 Havoc Pennington <hp@redhat.com> * gthread-impl.c (g_mutex_free_errorcheck_impl): hack this so it compiles, needs fixing for real.
This commit is contained in:
parent
c96ad49767
commit
e6e88520c9
@ -1,3 +1,8 @@
|
||||
2001-01-29 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gthread-impl.c (g_mutex_free_errorcheck_impl): hack this so it
|
||||
compiles, needs fixing for real.
|
||||
|
||||
2001-01-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gthread-impl.c (g_mutex_free_errorcheck_impl): Add new check to
|
||||
|
@ -181,10 +181,12 @@ g_mutex_unlock_errorcheck_impl (GMutex *mutex,
|
||||
static void
|
||||
g_mutex_free_errorcheck_impl (GMutex *mutex)
|
||||
{
|
||||
ErrorCheckInfo *info = G_MUTEX_DEBUG_INFO (mutex);
|
||||
|
||||
if (info && info->owner != NULL)
|
||||
g_error ("Trying to free a locked mutex at '%s', "
|
||||
"which was previously locked at '%s'",
|
||||
location, info->location);
|
||||
"FIXME", info->location);
|
||||
|
||||
g_free (G_MUTEX_DEBUG_INFO (mutex));
|
||||
g_thread_functions_for_glib_use_default.mutex_free (mutex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user