Re: g_messages_init



Hi Havoc,

> There's this g_messages_init() function that creates the mutex for
> gmessages.c globals, but it never seems to be called. So the mutex is
> always NULL?

It is called by g_thread_init in gthread/gthread-impl.c, so for non-threaded
programs it is always NULL, but g_mutex_lock is NOOP then.

Bye,
Sebastian
-- 
Sebastian Wilhelmi                   |            här ovanför alla molnen
mailto:wilhelmi ira uka de           |     är himmlen så förunderligt blå
http://goethe.ira.uka.de/~wilhelmi   |




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]