Io asynchronous file extension in boost :: asio for Mac OS X

The boost :: asio package contains classes for executing an asynchronous io file on Windows using I / O completion ports. As far as I understand, there is no support for the io asynchronous file for other platforms included in the asio package.

I'm wondering what needs to be done to extend asio with asynchronous io file support, at least for Mac OS X, but to some extent Linux. What interests me the most is what needs to be done on the asio side, but since I'm not so good at programming on Mac OS X, I don't mind telling you where you can find more information on how to make an asynchronous io file on Mac OS X is also PBReadForkAsync, what should I look at?

Update: I finally tried to build the io asynchronous file (external boost :: asio) on Mac OS X using aio_read / aio_write, however I can’t get the callback data that I need (see How to get user data for the signal handler aio on Mac OS X ).

+3
source share
1 answer

According to this page, boost :: asio runs on OS X with one minor limitation: http://www.boost.org/doc/libs/1_37_0/doc/html/boost_asio/overview/implementation.html

+2
source

Source: https://habr.com/ru/post/1728432/


All Articles