]> git.meshlink.io Git - meshlink/commit
Add support for AIO using filedescriptors.
authorGuus Sliepen <guus@meshlink.io>
Thu, 29 Aug 2019 21:26:29 +0000 (23:26 +0200)
committerGuus Sliepen <guus@meshlink.io>
Thu, 29 Aug 2019 21:26:29 +0000 (23:26 +0200)
commitc023ad12147aa88810629c110ea6b1ab94267196
treee9334bb2777f7b8929cc60d7fd7253911d4cafe9
parenta4de87ca233b6e1ca145d592e43f6e632baf7e1b
Add support for AIO using filedescriptors.

This adds support to enqueue transmits between channels and filedescriptors.
Currently, it requires that read() and write() calls on the filedescriptors
are non-blocking and always succeed, which limits it to reading from and
writing to files.
src/meshlink++.h
src/meshlink.c
src/meshlink.h
src/meshlink.sym
src/meshlink_internal.h
test/Makefile.am
test/channels-aio-fd.c [new file with mode: 0644]
test/channels-aio-fd.test [new file with mode: 0755]