{"width":"100%","blog_title":"Faith and Brave - C++\u3067\u904a\u307c\u3046","categories":["C++"],"published":"2011-08-29 23:08:26","height":"190","type":"rich","author_url":"https://blog.hatena.ne.jp/faith_and_brave/","title":" Boost.Asio signal_set","description":"Boost 1.47.0\u304b\u3089\u3001Boost.Asio\u306b\u30b7\u30b0\u30ca\u30eb\u3092\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u3059\u308b\u305f\u3081\u306esignal_set\u3068\u3044\u3046\u30af\u30e9\u30b9\u304c\u5c0e\u5165\u3055\u308c\u307e\u3057\u305f\u3002 \u4ee5\u4e0b\u306f\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u30ad\u30e3\u30f3\u30bb\u30eb(Ctrl + C)\u3092\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u3059\u308b\u4f8b\u3067\u3059\u3002 signal_set\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306b\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u3057\u305f\u3044\u30b7\u30b0\u30ca\u30eb\u3092\u767b\u9332\u3057\u307e\u3059\u3002 \u3053\u3053\u3067\u306f\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u30ad\u30e3\u30f3\u30bb\u30eb\u3067\u3042\u308bSIGINT\u3092\u767b\u9332\u3057\u3066\u3044\u307e\u3059\u3002 #include <iostream> #include <boost/asio.hpp> namespace asio = boost::asio; void on_cancel_signal(const boost::system:\u2026","blog_url":"https://faithandbrave.hateblo.jp/","author_name":"faith_and_brave","version":"1.0","provider_url":"https://hatena.blog","url":"https://faithandbrave.hateblo.jp/entry/20110829/1314626906","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20110829%2F1314626906\" title=\" Boost.Asio signal_set - Faith and Brave - C++\u3067\u904a\u307c\u3046\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null}