diff options
Diffstat (limited to 'docs/man/nng_cv_wake.3supp.adoc')
| -rw-r--r-- | docs/man/nng_cv_wake.3supp.adoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/man/nng_cv_wake.3supp.adoc b/docs/man/nng_cv_wake.3supp.adoc index ad8dadfe..75642884 100644 --- a/docs/man/nng_cv_wake.3supp.adoc +++ b/docs/man/nng_cv_wake.3supp.adoc @@ -26,8 +26,8 @@ void nng_cv_wake(nng_cv *cv); == DESCRIPTION The `nng_cv_wake()` wakes any threads waiting for the condition variable _cv_ -to be signaled in the <<nng_cv_wait.3supp#,`nng_cv_wait()`>> or -<<nng_cv_until.3supp#,`nng_cv_until()`>> functions. +to be signaled in the `<<nng_cv_wait.3supp#,nng_cv_wait()>>` or +`<<nng_cv_until.3supp#,nng_cv_until()>>` functions. The caller must have have ownership of the mutex that was used when _cv_ was allocated. @@ -38,7 +38,7 @@ will check, while holding the mutex. TIP: This function wakes all threads, which is generally safer but can lead to a problem known as the "`thundering herd`" when there are many waiters, as they are all woken simultaneously. -See <<nng_cv_wake1.3supp#,`nng_cv_wake1()`>> for a solution to this problem. +See `<<nng_cv_wake1.3supp#,nng_cv_wake1()>>` for a solution to this problem. == RETURN VALUES |
