Boost logo

Boost Users :

Subject: Re: [Boost-users] AsIO daytime example needs terminate code
From: Christopher Yeleighton (giecrilj_at_[hidden])
Date: 2010-04-29 09:13:04


Boris Schaeling <boris <at> highscore.de> 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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net