首页
Python
Java
IOS
Andorid
NodeJS
JavaScript
HTML5
【
CUtilityCode
】的更多相关文章
CUtilityCode
(1) 基于boost的生产者/消费者队列 template<typenameData> classconcurrent_queue { private: std::queue<Data> the_queue; mutableboost::mutex the_mutex; boost::condition_variable the_condition_variable; public: void push(Data const& data) { boost::mutex::…