
29 Apr
2010
29 Apr
'10
1:30 p.m.
On Thu, 29 Apr 2010 15:13:04 +0200, Christopher Yeleighton
Boris Schaeling
writes: 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.
I suggest to submit your proposal at https://svn.boost.org/trac/boost/newticket. Boris