mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-16 02:19:28 +02:00
Bug 560676 - function access for g_threads_supported
2008-12-18 Mike Kestner <mkestner@novell.com> Bug 560676 - function access for g_threads_supported * glib/gthreads.c (g_thread_get_initialized): new accessor for g_threads_supported macro. * glib/gthreads.h: add g_thread_get_initialized svn path=/trunk/; revision=7752
This commit is contained in:
committed by
Mike Kestner
parent
fc0ba86c69
commit
8bed68813e
@@ -134,6 +134,11 @@ void g_thread_init (GThreadFunctions *vtable);
|
||||
*/
|
||||
void g_thread_init_with_errorcheck_mutexes (GThreadFunctions* vtable);
|
||||
|
||||
/* Checks if thread support is initialized. Identical to the
|
||||
* g_thread_supported macro but provided for language bindings.
|
||||
*/
|
||||
gboolean g_thread_get_initialized (void);
|
||||
|
||||
/* A random number to recognize debug calls to g_mutex_... */
|
||||
#define G_MUTEX_DEBUG_MAGIC 0xf8e18ad7
|
||||
|
||||
|
Reference in New Issue
Block a user