Subject: Re: [boost] extending asio with unix signal handlers
From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2009-03-19 08:01:20
On Thu, Mar 19, 2009 at 4:55 PM, Dmitry Goncharov <dgoncharov_at_[hidden]> wrote:
> What do you think of extending asio with unix signal handling?
I think it's brilliant.
> The extension lets the library user to have a handler invoked when a unix
> signal arrives.
Sweet. Perfect. I think this is exactly what I've been looking for. :-)
> This lets the user have a unix signal handler of an arbitrary signature.
> This also removes the "async-signal safe calls" restriction.
> Please, find the implementation along with two examples enclosed.
Thanks for this Dmitry!
-- Dean Michael Berris | Software Engineer, Friendster, Inc. blog.cplusplus-soup.com | twitter.com/mikhailberis | linkedin.com/in/mikhailberis | profiles.friendster.com/mikhailberis | deanberris.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk