
信号量
文章平均质量分 60
papiping
这个作者很懒,什么都没留下…
展开
-
信号量封装类(Linux)
#else #include #include typedef int TSemWaitTimeout; class TSemaphore { private: sem_t m_sem; public: TSemaphore() { m_sem = NULL; }; ~TSemaphore() { if(NULL != m_sem)原创 2011-12-12 17:17:38 · 735 阅读 · 0 评论 -
信号量封装类(windows)
#pragma once /******************************************************************************* * name : 信号量封装类 * description: * input : * output : * return : void * remark原创 2011-12-12 17:16:24 · 465 阅读 · 0 评论