diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-05-01 17:11:32 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-05-01 19:18:37 -0700 |
| commit | 3d3fa690c4f81bf4ed0a2de42c3c8fbb9f4cca5c (patch) | |
| tree | d670fc9ac327e017c62a72cbaeda4bcacda5f9dd /docs/man/nng_mtx_lock.3supp.adoc | |
| parent | 1ef281a7fbd544c6d3384fd8a71d10dc4bb081e8 (diff) | |
| download | nng-3d3fa690c4f81bf4ed0a2de42c3c8fbb9f4cca5c.tar.gz nng-3d3fa690c4f81bf4ed0a2de42c3c8fbb9f4cca5c.tar.bz2 nng-3d3fa690c4f81bf4ed0a2de42c3c8fbb9f4cca5c.zip | |
Markup fixes, ensuring links are colored properly.
It turns out that when creating cross references, we need to
make any text styling (generally literal characters) outside of
the link, to avoid having the styling override the link color.
(We prefer to have links colored for ease of use.)
While here a few other markup, and actual content, errors were fixed.
Diffstat (limited to 'docs/man/nng_mtx_lock.3supp.adoc')
| -rw-r--r-- | docs/man/nng_mtx_lock.3supp.adoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/man/nng_mtx_lock.3supp.adoc b/docs/man/nng_mtx_lock.3supp.adoc index 54aacd37..8ea4bdd6 100644 --- a/docs/man/nng_mtx_lock.3supp.adoc +++ b/docs/man/nng_mtx_lock.3supp.adoc @@ -27,7 +27,7 @@ void nng_mtx_lock(nng_mtx *mtx); The `nng_mtx_lock()` acquires exclusive ownership of the mutex _mtx_. If the lock is already owned, this function will wait until the current -owner releases it with <<nng_mtx_unlock.3supp#,`nng_mtx_unlock()`>>. +owner releases it with `<<nng_mtx_unlock.3supp#,nng_mtx_unlock()>>`. If multiple threads are waiting for the lock, the order of acquisition is not specified. @@ -40,8 +40,8 @@ It is a programming error for the owner of a mutex to attempt to reacquire it. **** -_NNG_ offers neither a "`trylock`" operation, nor recursive mutexes. -This is by design, as _NNG_ itself does not use such things, +_nng_ offers neither a "`trylock`" operation, nor recursive mutexes. +This is by design, as _nng_ itself does not use such things, and most often the need for them is the result of poor design. If such capabilities are needed, they may be synthesized fairly easily from mutexes and condition variables. |
