Skip to content

Commit

Permalink
Rx completion can run ahead of tx completion!
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Mar 15, 2018
1 parent f9cd60c commit e926c65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/aio.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ Main({
nng_aio_set_msg(txaio, m);
nng_send_aio(s1, txaio);

nng_aio_wait(txaio);
nng_aio_wait(rxaio);

So(nng_aio_result(rxaio) == 0);
Expand Down

0 comments on commit e926c65

Please sign in to comment.