mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-30 20:33:08 +02:00
gtk-doc g_thread_ref() and g_thread_unref()
This commit is contained in:
parent
e75e9c3044
commit
11f3684b71
@ -672,6 +672,15 @@ void
|
|||||||
|
|
||||||
/* GThread {{{1 -------------------------------------------------------- */
|
/* GThread {{{1 -------------------------------------------------------- */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* g_thread_ref:
|
||||||
|
* @thread: a #GThread
|
||||||
|
*
|
||||||
|
* Increase the reference count on @thread.
|
||||||
|
*
|
||||||
|
* Returns: a new reference to @thread
|
||||||
|
* Since: 2.32
|
||||||
|
**/
|
||||||
GThread *
|
GThread *
|
||||||
g_thread_ref (GThread *thread)
|
g_thread_ref (GThread *thread)
|
||||||
{
|
{
|
||||||
@ -682,6 +691,15 @@ g_thread_ref (GThread *thread)
|
|||||||
return thread;
|
return thread;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* g_thread_unref:
|
||||||
|
* @thread: a #GThread
|
||||||
|
*
|
||||||
|
* Decrease the reference count on @thread, possibly freeing all
|
||||||
|
* resources associated with it.
|
||||||
|
*
|
||||||
|
* Since: 2.32
|
||||||
|
**/
|
||||||
void
|
void
|
||||||
g_thread_unref (GThread *thread)
|
g_thread_unref (GThread *thread)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user