Skip to content

Commit

Permalink
fixes #1721 docs should indicate nng_aio_wait must not be used from a…
Browse files Browse the repository at this point in the history
… callback
  • Loading branch information
gdamore committed Dec 15, 2023
1 parent a6de76c commit c4d4d50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/man/nng_aio_wait.3.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ completed, then it returns immediately.
If a callback was set with _aio_ when it was allocated, then this
function will not be called until the callback has completed.

IMPORTANT: This function should never be called from a function that itself
is a callback of an xref:nng_aio.5.adoc[`aio`], either this one or any other.
Doing so may result in a deadlock.

== RETURN VALUES

None.
Expand Down

0 comments on commit c4d4d50

Please sign in to comment.