5 Sep
2013
5 Sep
'13
12:40 p.m.
On 09/05/2013 12:44 AM, Michael Powell wrote:
I am working on a daemon that involves a sleep_for in the main loop, while worker-threads do the "heavier" lifting in the daemon. I have a couple of signals wired up to respond to terminal, kill or other requests, as per daemonization-guidelines.
Have you considered using the Boost.Asio signal handling? http://www.boost.org/doc/html/boost_asio/overview/signals.html