Semaphore built from mutex in C++11
摘要:#include #include using namespace std;class semaphore{private: mutex mtx; condition_variable cv; int count;public: semaphore(int count_ = ...
阅读全文
posted @ 2015-03-04 12:46
posted @ 2015-03-04 12:46