asio icon indicating copy to clipboard operation
asio copied to clipboard

File support on kqueue

Open vinipsmaker opened this issue 3 years ago • 2 comments

It'd be possible to add non-threaded non-blocking file IO support to FreeBSD as well. POSIX AIO follows the proactor design so it's fine to use it to implement file IO. And it's possible to configure kqueue to consume AIO notifications (EVFILT_AIO/SIGEV_KEVENT).

vinipsmaker avatar Feb 19 '22 16:02 vinipsmaker

i'd very much love to see support for user-provided kevent, similar to posix::stream_descriptor or windows::object_handle. afaict it's the only way to implement "event" or "semaphore" style functionality like with eventfd / CreateEvent on linux/win32

timblechmann avatar Nov 16 '23 02:11 timblechmann

FreeBSD has already included improvements that make this task more feasible.

manipuladordedados avatar Feb 11 '24 02:02 manipuladordedados