mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
More header cosmetics
This commit is contained in:
parent
c291259c65
commit
7d859fb67f
@ -110,12 +110,12 @@ GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex);
|
||||
#define g_thread_supported() (g_threads_got_initialized)
|
||||
#endif
|
||||
|
||||
GThread * g_thread_create (GThreadFunc func,
|
||||
GThread *g_thread_create (GThreadFunc func,
|
||||
gpointer data,
|
||||
gboolean joinable,
|
||||
GError **error);
|
||||
|
||||
GThread * g_thread_create_with_stack_size (GThreadFunc func,
|
||||
GThread *g_thread_create_with_stack_size (GThreadFunc func,
|
||||
gpointer data,
|
||||
gboolean joinable,
|
||||
gsize stack_size,
|
||||
@ -126,6 +126,9 @@ void g_thread_exit (gpointer retval);
|
||||
gpointer g_thread_join (GThread *thread);
|
||||
void g_thread_yield (void);
|
||||
|
||||
void g_thread_foreach (GFunc thread_func,
|
||||
gpointer user_data);
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
typedef GMutex * GStaticMutex;
|
||||
#define G_STATIC_MUTEX_INIT NULL
|
||||
@ -204,9 +207,6 @@ gboolean g_static_rw_lock_writer_trylock (GStaticRWLock* lock);
|
||||
void g_static_rw_lock_writer_unlock (GStaticRWLock* lock);
|
||||
void g_static_rw_lock_free (GStaticRWLock* lock);
|
||||
|
||||
void g_thread_foreach (GFunc thread_func,
|
||||
gpointer user_data);
|
||||
|
||||
typedef enum
|
||||
{
|
||||
G_ONCE_STATUS_NOTCALLED,
|
||||
|
Loading…
Reference in New Issue
Block a user