C++多线程高并发,condition_variable,wait,notify_one,notify_all
C++11中引入了condition_variable,wait,notify_one,notify_all等方法,对多线程编程的编写更加友好,对之前的std::mutex.lock/unlockstd::unique_lockmyUniqeLock(myMutex,adopt_lock/try_yo_lock/defer_lock)//进行了补充先讲原理,condition_variable是一