mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 02:47:52 +02:00
Extended the comments on those functions, that are NOOPs, before
2007-06-15 Sebastian Wilhelmi <wilhelmi@google.com> * docs/reference/glib/tmpl/threads.sgml: Extended the comments on those functions, that are NOOPs, before g_thread_init() has been called. (#447583) * glib/gthread.c (g_static_mutex_free): Clarified comment to remind myself, tha calling g_static_mutex_free() before g_thread_init() is safe. svn path=/trunk/; revision=5567
This commit is contained in:
committed by
Sebastian Wilhelmi
parent
49f802b83e
commit
16b4963816
@@ -230,7 +230,10 @@ g_static_mutex_free (GStaticMutex* mutex)
|
||||
g_return_if_fail (mutex);
|
||||
|
||||
/* The runtime_mutex is the first (or only) member of GStaticMutex,
|
||||
* see both versions (of glibconfig.h) in configure.in */
|
||||
* see both versions (of glibconfig.h) in configure.in. Note, that
|
||||
* this variable is NULL, if g_thread_init() hasn't been called or
|
||||
* if we're using the default thread implementation and it provides
|
||||
* static mutexes. */
|
||||
runtime_mutex = ((GMutex**)mutex);
|
||||
|
||||
if (*runtime_mutex)
|
||||
|
Reference in New Issue
Block a user