2015年2月19日
摘要: 1. Mutex(互斥量) vs Semaphore(信号) a. Mutex和Semaphore的主要区别是什么?count为1的semaphore是不是就是mutex? 严格来讲,mutex是锁的机制,semaphore是信号的机制。 mutex(locking mechanism)相当于给资源... 阅读全文
posted @ 2015-02-19 02:23 Eric姜 阅读(247) 评论(0) 推荐(0)