29 Apr
2010
29 Apr
'10
1:13 p.m.
Boris Schaeling
implementation can change in a new version). Maybe you can propose (or create?) a stop function which is safe to call in a signal handler (sounds like a good contribution to Boost.Asio)?
Sure. The function would be void io_service::async_stop(void); /// Sets an internal flag in io_service to stop at the nearest event loop. /// May be called from a signal handler.