aboutsummaryrefslogtreecommitdiff
path: root/docs/ref/api/synch.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/api/synch.md')
-rw-r--r--docs/ref/api/synch.md22
1 files changed, 11 insertions, 11 deletions
diff --git a/docs/ref/api/synch.md b/docs/ref/api/synch.md
index f32344b0..965b34da 100644
--- a/docs/ref/api/synch.md
+++ b/docs/ref/api/synch.md
@@ -132,20 +132,10 @@ The difference between these functions is that
one thread (which may be chosen randomly).
> [!TIP]
-> Use of `nng_cv_wake1` may be used to reduce the "thundering herd" syndrom of waking
+> Use of `nng_cv_wake1` may be used to reduce the "{{i:thundering herd}}" syndrom of waking
> all threads concurrently, but should only be used in circumstances where the application
> does not depend on _which_ thread will be woken. When in doubt, `nng_cv_wake` is safer.
-[aio]: aio.md
-[thread]: thread.md
-[nng_mtx]: #mutual-exclusion-lock
-[nng_mtx_lock]: #acquiring-a-mutex
-[nng_mtx_unlock]: #releasing-a-mutex
-[nng_cv]: #condition-variable
-[nng_cv_wait]: #waiting-for-the-condition
-[nng_cv_wake]: #signaling-the-condition
-[nng_clock]: ../util/nng_clock.md
-
## Examples
### Example 1: Allocating the condition variable
@@ -180,3 +170,13 @@ one thread (which may be chosen randomly).
nng_cv_wake(cv);
nng_mtx_unlock(m);
```
+
+[aio]: aio.md
+[thread]: thread.md
+[nng_mtx]: #mutual-exclusion-lock
+[nng_mtx_lock]: #acquiring-a-mutex
+[nng_mtx_unlock]: #releasing-a-mutex
+[nng_cv]: #condition-variable
+[nng_cv_wait]: #waiting-for-the-condition
+[nng_cv_wake]: #signaling-the-condition
+[nng_clock]: ./time.md#getting-the-current-time