线程同步控制的几种方法

线程的几种同步机制:Critical Sections(关键区域,临界区域), Mutexes(互斥器), Semaphores(信号量), Event Objects(事件), Interlocked Variable

互斥器(mutexes)相对于critical sections,它可以跨进程和跨线程使用。

posted @ 2019-03-10 11:25  Jet咖啡  阅读(382)  评论(0编辑  收藏  举报