[asio-users] Questions about file io when using boost.asio
Brought to you by:
chris_kohlhoff
From: lampahome <pah...@mi...> - 2020-09-01 08:35:46
|
Hi, all I'm a rookie to boost.asio. I write a program to write files asynchronously by boost.asio. But I'm confused with some point. 1. I need to add job to boost::asio::io_service and call io_service.run(), then it will start running all jobs. Is there any function automatically running newly jobs after I add job? 2. If io_service.run() failed, is there any queue to let me know which job failed? Or it only jump exception? thanks |