Boost logo

Boost Users :

Subject: Re: [Boost-users] AsIO daytime example needs terminate code
From: Boris Schaeling (boris_at_[hidden])
Date: 2010-04-29 09:30:18


On Thu, 29 Apr 2010 15:13:04 +0200, Christopher Yeleighton
<giecrilj_at_[hidden]> wrote:

> 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.

I suggest to submit your proposal at
<https://svn.boost.org/trac/boost/newticket>.

Boris


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