2 ms·
Boost ASIO makes signal handling pretty painless in C++. It handles the signal and calls a callback in which you can use any function, not just signal safe func
by RcouF1uZ4gsC 10y ago
Boost ASIO makes signal handling pretty painless in C++. It handles the signal and calls a callback in which you can use any function, not just signal safe functions.
http://www.boost.org/doc/libs/1_64_0/doc/html/boost_asio/reference/signal_set.html http://www.boost.org/doc/libs/1_64_0/doc/html/boost_asio/ref...