摘要: https://msdn.microsoft.com/en-us/library/z6zx288a(v=vs.110).aspx The System.Threading.Semaphore class represents a named (systemwide) or local semapho 阅读全文
posted @ 2016-03-07 11:22 ChuckLu 阅读(484) 评论(0) 推荐(0) 编辑
摘要: https://msdn.microsoft.com/en-us/library/system.threading.semaphoreslim(v=vs.110).aspx Represents a lightweight alternative to Semaphore that limits t 阅读全文
posted @ 2016-03-07 10:59 ChuckLu 阅读(1242) 评论(0) 推荐(0) 编辑
摘要: http://www.albahari.com/threading/part2.aspx#_Mutex A Mutex is like a C# lock, but it can work across multiple processes. In other words, Mutex can be 阅读全文
posted @ 2016-03-07 10:40 ChuckLu 阅读(283) 评论(0) 推荐(0) 编辑
摘要: http://www.albahari.com/threading/part2.aspx#_Semaphore A semaphore is like a nightclub: it has a certain capacity, enforced by a bouncer. Once it’s f 阅读全文
posted @ 2016-03-07 10:29 ChuckLu 阅读(345) 评论(0) 推荐(0) 编辑