X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/ebd5aef6dc92accb509b1cc67eaf72159f35cdfa..03b35a9a1bd1f583e32b27d260b223a0989d6c75:/rpc/poll_mgr.cc diff --git a/rpc/poll_mgr.cc b/rpc/poll_mgr.cc index 2598249..83289a8 100644 --- a/rpc/poll_mgr.cc +++ b/rpc/poll_mgr.cc @@ -7,6 +7,8 @@ #include #endif +using std::vector; + aio_callback::~aio_callback() {} poll_mgr poll_mgr::shared_mgr; @@ -33,7 +35,7 @@ class SelectAIO : public wait_manager { fd_set rfds_, wfds_; int highfds_; file_t pipe_[2]; - mutex m_; + std::mutex m_; }; #ifdef __linux__ @@ -196,7 +198,7 @@ void SelectAIO::wait_ready(vector & readable, vector & writable) { return; else if (ret < 0) { perror("select:"); - IF_LEVEL(0) LOG("select_loop failure errno " << errno); + IF_LEVEL(0) LOG << "select_loop failure errno " << errno; VERIFY(0); }