Skip to content

Commit c4d4d50

Browse files
committed
fixes #1721 docs should indicate nng_aio_wait must not be used from a callback
1 parent a6de76c commit c4d4d50

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/man/nng_aio_wait.3.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ completed, then it returns immediately.
3232
If a callback was set with _aio_ when it was allocated, then this
3333
function will not be called until the callback has completed.
3434

35+
IMPORTANT: This function should never be called from a function that itself
36+
is a callback of an xref:nng_aio.5.adoc[`aio`], either this one or any other.
37+
Doing so may result in a deadlock.
38+
3539
== RETURN VALUES
3640

3741
None.

0 commit comments

Comments
 (0)