aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_cv_until.3supp.adoc
diff options
context:
space:
mode:
authorFred Eisele <fredrick.eisele@gmail.com>2018-08-09 13:51:26 -0500
committerGarrett D'Amore <garrett@damore.org>2018-08-11 17:21:47 +0300
commitc33c5fc5191bbfe794eac5c3548171c628458495 (patch)
tree11a996fd1e8f88947cc6db02f40b87c0a3e9eb38 /docs/man/nng_cv_until.3supp.adoc
parent1a752ba26a7c65c386ae5431b2615ace25db9521 (diff)
downloadnng-c33c5fc5191bbfe794eac5c3548171c628458495.tar.gz
nng-c33c5fc5191bbfe794eac5c3548171c628458495.tar.bz2
nng-c33c5fc5191bbfe794eac5c3548171c628458495.zip
updates to the documentation
Diffstat (limited to 'docs/man/nng_cv_until.3supp.adoc')
-rw-r--r--docs/man/nng_cv_until.3supp.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/man/nng_cv_until.3supp.adoc b/docs/man/nng_cv_until.3supp.adoc
index 707b42b3..085d3c16 100644
--- a/docs/man/nng_cv_until.3supp.adoc
+++ b/docs/man/nng_cv_until.3supp.adoc
@@ -20,7 +20,7 @@ nng_cv_until - wait for condition or timeout
#include <nng/nng.h>
#include <nng/supplemental/util/platform.h>
-int nng_cv_wait(nng_cv *cv, nng_time when);
+int nng_cv_until(nng_cv *cv, nng_time when);
----
== DESCRIPTION
@@ -65,7 +65,7 @@ The following example demonstrates use of this function:
----
nng_mtx_lock(m);
condition_true = true;
- cv_wake(cv);
+ nng_cv_wake(cv);
nng_mtx_unlock(m);
----