顯示具有 synchronization 標籤的文章。 顯示所有文章
顯示具有 synchronization 標籤的文章。 顯示所有文章

2014年1月6日 星期一

[IOS] Ch6 Synchronization #2

Ch6.6 Classic Problems of Synchronization

  • The Bounded-Buffer Problem
  • The Readers-Writers Problem
  • The Dining-Philosophers Problem

2013年11月10日 星期日

[IOS] Ch6 Synchronization #1


A cooperating process is one that can affect or be affected by other processes executing in the system. Cooperating processes can either directly share a logical address space (that is, both code and data) or be allowed to share data only through files or messages. The former case is achieved through the use of threads, discussed in Chapter 4. Concurrent access to shared data may result in data inconsistency, however. In this chapter, we discuss various mechanisms to ensure the orderly execution of cooperating processes that share a logical address space, so that data consistency is maintained.