mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
gthread: add AVAILABLE_IN_2_32 annotations
https://bugzilla.gnome.org/show_bug.cgi?id=688319
This commit is contained in:
parent
4ffa472438
commit
5ff99924d8
@ -137,11 +137,15 @@ struct _GOnce
|
||||
# define G_TRYLOCK(name) g_mutex_trylock (&G_LOCK_NAME (name))
|
||||
#endif /* !G_DEBUG_LOCKS */
|
||||
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
GThread * g_thread_ref (GThread *thread);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_thread_unref (GThread *thread);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
GThread * g_thread_new (const gchar *name,
|
||||
GThreadFunc func,
|
||||
gpointer data);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
GThread * g_thread_try_new (const gchar *name,
|
||||
GThreadFunc func,
|
||||
gpointer data,
|
||||
@ -152,33 +156,51 @@ gpointer g_thread_join (GThread *thread);
|
||||
void g_thread_yield (void);
|
||||
|
||||
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_mutex_init (GMutex *mutex);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_mutex_clear (GMutex *mutex);
|
||||
void g_mutex_lock (GMutex *mutex);
|
||||
gboolean g_mutex_trylock (GMutex *mutex);
|
||||
void g_mutex_unlock (GMutex *mutex);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_rw_lock_init (GRWLock *rw_lock);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_rw_lock_clear (GRWLock *rw_lock);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_rw_lock_writer_lock (GRWLock *rw_lock);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
gboolean g_rw_lock_writer_trylock (GRWLock *rw_lock);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_rw_lock_writer_unlock (GRWLock *rw_lock);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_rw_lock_reader_lock (GRWLock *rw_lock);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
gboolean g_rw_lock_reader_trylock (GRWLock *rw_lock);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_rw_lock_reader_unlock (GRWLock *rw_lock);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_rec_mutex_init (GRecMutex *rec_mutex);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_rec_mutex_clear (GRecMutex *rec_mutex);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_rec_mutex_lock (GRecMutex *rec_mutex);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
gboolean g_rec_mutex_trylock (GRecMutex *rec_mutex);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_rec_mutex_unlock (GRecMutex *rec_mutex);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_cond_init (GCond *cond);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_cond_clear (GCond *cond);
|
||||
void g_cond_wait (GCond *cond,
|
||||
GMutex *mutex);
|
||||
void g_cond_signal (GCond *cond);
|
||||
void g_cond_broadcast (GCond *cond);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
gboolean g_cond_wait_until (GCond *cond,
|
||||
GMutex *mutex,
|
||||
gint64 end_time);
|
||||
@ -186,6 +208,7 @@ gboolean g_cond_wait_until (GCond *cond,
|
||||
gpointer g_private_get (GPrivate *key);
|
||||
void g_private_set (GPrivate *key,
|
||||
gpointer value);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_private_replace (GPrivate *key,
|
||||
gpointer value);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user