aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_mtx_lock.3supp.adoc
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2020-06-18 19:19:06 -0700
committerGarrett D'Amore <garrett@damore.org>2020-06-18 19:19:06 -0700
commitdbc61a5038cacc516a49d00a59a669e2617cff51 (patch)
tree2b63b03499af29eff7b9c76e352366223ddee1ce /docs/man/nng_mtx_lock.3supp.adoc
parent2236819226e579058d9f9fd67f3d684630a40634 (diff)
downloadnng-dbc61a5038cacc516a49d00a59a669e2617cff51.tar.gz
nng-dbc61a5038cacc516a49d00a59a669e2617cff51.tar.bz2
nng-dbc61a5038cacc516a49d00a59a669e2617cff51.zip
Language cleanups in the documentation.
Mostly this is removal of the smart quotes, which were over-used, and misused, and could have been mistaken to be pejorative. A few other minor nits were fixed while here.
Diffstat (limited to 'docs/man/nng_mtx_lock.3supp.adoc')
-rw-r--r--docs/man/nng_mtx_lock.3supp.adoc5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/man/nng_mtx_lock.3supp.adoc b/docs/man/nng_mtx_lock.3supp.adoc
index 33504da1..91fd2ab5 100644
--- a/docs/man/nng_mtx_lock.3supp.adoc
+++ b/docs/man/nng_mtx_lock.3supp.adoc
@@ -40,8 +40,9 @@ 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 non-blocking variant that can fail,
+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.