diff options
| author | mochalins <117967760+mochalins@users.noreply.github.com> | 2025-05-23 17:02:52 +0900 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-06-02 07:24:06 -0700 |
| commit | 4e1ffdca6d97c1bddc460835c94b16bc64284861 (patch) | |
| tree | 80c27b0e509c8d7001619af27a33794f4bcad3c4 /docs/ref/api/synch.md | |
| parent | 1323aece0712522ccb2bf432b5085889a3513fa8 (diff) | |
| download | nng-4e1ffdca6d97c1bddc460835c94b16bc64284861.tar.gz nng-4e1ffdca6d97c1bddc460835c94b16bc64284861.tar.bz2 nng-4e1ffdca6d97c1bddc460835c94b16bc64284861.zip | |
Fix typos across docs, comments, and CMake
Diffstat (limited to 'docs/ref/api/synch.md')
| -rw-r--r-- | docs/ref/api/synch.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/api/synch.md b/docs/ref/api/synch.md index 62e9b7c1..ea545cab 100644 --- a/docs/ref/api/synch.md +++ b/docs/ref/api/synch.md @@ -29,7 +29,7 @@ int nng_mutx_alloc(nng_mt **mtxp); A mutex can be created by allocating one with {{i:`nng_mtx_lock`}}. On success, a pointer to the mutex is returned through _mtxp_. This function can fail due to insufficient memory or resources, in which -case it will return [`NNG_ENOMEM`]. Otherwise it will succceed and return zero. +case it will return [`NNG_ENOMEM`]. Otherwise it will succeed and return zero. ### Destroying a Mutex @@ -132,7 +132,7 @@ 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 "{{i:thundering herd}}" syndrom of waking +> Use of `nng_cv_wake1` may be used to reduce the "{{i:thundering herd}}" syndrome 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. |
