aboutsummaryrefslogtreecommitdiff
path: root/src/protocol/pubsub/sub.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-09-01 10:26:34 -0700
committerGarrett D'Amore <garrett@damore.org>2017-09-22 11:48:10 -0700
commit2c977c35d8e44ad21345c3e91088f4f3d3f03605 (patch)
tree29722c23cadc1bb60ba035c717b41acf287eb90c /src/protocol/pubsub/sub.c
parentd72076207a2fad96ff014a81366868fb47a0ed1b (diff)
downloadnng-2c977c35d8e44ad21345c3e91088f4f3d3f03605.tar.gz
nng-2c977c35d8e44ad21345c3e91088f4f3d3f03605.tar.bz2
nng-2c977c35d8e44ad21345c3e91088f4f3d3f03605.zip
Add support for synchronous AIO completions.
We add a flag (auto-clearing) that can be set on an AIO to indicate that the AIO should not processed asynchronously on a taskq. This can be used to enhance performance in some cases, but it can also be used to permit an AIO be destroyed from a completion callback. (For the latter, the callback must execute the new nni_aio_fini_cb() routine, which destroys the AIO without waiting for it to finish.)
Diffstat (limited to 'src/protocol/pubsub/sub.c')
0 files changed, 0 insertions, 0 deletions