mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-04 16:36:17 +01:00
Improve g_cond_wait docs
Document that the mutex is locked upon return. https://bugzilla.gnome.org/show_bug.cgi?id=691110
This commit is contained in:
parent
5fbdd3aa27
commit
e478b65ea5
@ -727,6 +727,8 @@ g_cond_clear (GCond *cond)
|
||||
* @mutex: a #GMutex that is currently locked
|
||||
*
|
||||
* Atomically releases @mutex and waits until @cond is signalled.
|
||||
* When this function returns, @mutex is locked again and owned by the
|
||||
* calling thread.
|
||||
*
|
||||
* When using condition variables, it is possible that a spurious wakeup
|
||||
* may occur (ie: g_cond_wait() returns even though g_cond_signal() was
|
||||
|
Loading…
Reference in New Issue
Block a user