2015年11月22日

Operating System: Three Easy Pieces --- Locks: Pthread Locks (Note)

摘要: The name that the POSIX library uses for a lock is mutex, as it is used to provide mutual exclusionbetween threads, i.e., if one thread is in the crit... 阅读全文

posted @ 2015-11-22 12:53 Persistence 阅读(308) 评论(0) 推荐(0)

Operating System: Three Easy Pieces --- Locks (Note)

摘要: From the introduction to concurrency, we saw one of the fundamental problems in concurrentprogramming: we could like to execute a series of instructio... 阅读全文

posted @ 2015-11-22 11:22 Persistence 阅读(173) 评论(0) 推荐(0)

导航