Is there any asynchronous file read/write Boost lib?
5 Jul
2010
5 Jul
'10
4:15 p.m.
Hello, As I know, Boost.Asio is for asynchronous network socket, not asynchronous file read/write. Is there any asynchronous file read/write Boost (or other cross platform) lib? Best Regards, Bo Xie
6 Jul
6 Jul
6:44 a.m.
New subject: Is there any asynchronous file read/write Boost lib?
On Mon, Jul 5, 2010 at 6:15 PM, Bo Xie
As I know, Boost.Asio is for asynchronous network socket, not asynchronous file read/write. Is there any asynchronous file read/write Boost (or other cross platform) lib?
On mmap() capable platforms your can actually use asio. To do so, mmap your file and create a asio::mutable_buffer out of the resulting ptr. On that you can do your asynchronous IO. HTH, Stephan
5241
Age (days ago)
5242
Last active (days ago)
1 comments
2 participants
participants (2)
-
Bo Xie
-
Stephan Menzel