diff options
Diffstat (limited to '3rdParty/Boost/src/boost')
-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() |