摘要: https://coolshell.cn/articles/8239.html 阅读全文
posted @ 2020-06-19 16:17 CNHK19 阅读(201) 评论(0) 推荐(0) 编辑
摘要: class OSCond{public: OSCond(); ~OSCond(); inline void Signal(); inline void Wait(OSMutex* inMutex, SInt32 inTimeoutInMilSecs = 0); inline void Broadca 阅读全文
posted @ 2020-06-19 13:51 CNHK19 阅读(197) 评论(0) 推荐(0) 编辑
摘要: class OSMutex{public: OSMutex(); ~OSMutex(); inline void Lock(); inline void Unlock(); // Returns true on successful grab of the lock, false on failur 阅读全文
posted @ 2020-06-19 13:48 CNHK19 阅读(204) 评论(0) 推荐(0) 编辑