diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-12-27 22:08:47 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-12-27 22:08:47 (GMT) |
commit | d64d480cae2db95a802323408745b0d49be9c660 (patch) | |
tree | eebc3609eb05a8dbd0c209948b7be6a06dddfe9d /3rdParty/Boost/src/boost/asio/detail | |
parent | 08d137d71e23d8237e788750bd32ad5901058031 (diff) | |
download | swift-d64d480cae2db95a802323408745b0d49be9c660.zip swift-d64d480cae2db95a802323408745b0d49be9c660.tar.bz2 |
Removing 'force quit' timer.
Diffstat (limited to '3rdParty/Boost/src/boost/asio/detail')
-rw-r--r-- | 3rdParty/Boost/src/boost/asio/detail/impl/pipe_select_interrupter.ipp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/3rdParty/Boost/src/boost/asio/detail/impl/pipe_select_interrupter.ipp b/3rdParty/Boost/src/boost/asio/detail/impl/pipe_select_interrupter.ipp index f2a7291..5ed0d9d 100644 --- a/3rdParty/Boost/src/boost/asio/detail/impl/pipe_select_interrupter.ipp +++ b/3rdParty/Boost/src/boost/asio/detail/impl/pipe_select_interrupter.ipp @@ -29,6 +29,7 @@ #include <boost/asio/detail/pipe_select_interrupter.hpp> #include <boost/asio/detail/throw_error.hpp> #include <boost/asio/error.hpp> +#include <iostream> #include <boost/asio/detail/push_options.hpp> @@ -56,10 +57,17 @@ pipe_select_interrupter::pipe_select_interrupter() pipe_select_interrupter::~pipe_select_interrupter() { - if (read_descriptor_ != -1) + std::cout << "Destroying pipe select interrupter" << std::endl; + if (read_descriptor_ != -1) { + std::cout << "Close read" << std::endl; ::close(read_descriptor_); - if (write_descriptor_ != -1) + std::cout << "Done close read" << std::endl; + } + if (write_descriptor_ != -1) { + std::cout << "Close write" << std::endl; ::close(write_descriptor_); + std::cout << "Done close write" << std::endl; + } } void pipe_select_interrupter::interrupt() |