|
Boost Users : |
Subject: Re: [Boost-users] [chrono] this_thread::sleep_for milliseconds
From: Bjorn Reese (breese_at_[hidden])
Date: 2013-09-05 08:40:29
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
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