X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/26ade07ab0e62b98b452fbbd18edba0450035e35..03b35a9a1bd1f583e32b27d260b223a0989d6c75:/rpc/fifo.h?ds=sidebyside diff --git a/rpc/fifo.h b/rpc/fifo.h index f8a7224..dfb4d05 100644 --- a/rpc/fifo.h +++ b/rpc/fifo.h @@ -37,8 +37,8 @@ class fifo { } private: - list q_; - mutex m_; + std::list q_; + std::mutex m_; cond non_empty_c_; // q went non-empty cond has_space_c_; // q is not longer overfull size_t max_; // maximum capacity of the queue, block enq threads if exceeds this limit