文件名称:Multithreading_Programming_-_Thread_Synchronization_c++
文件大小:81KB
文件格式:PDF
更新时间:2012-02-03 08:47:15
Multithreading Thread Synchronization c++
In the last chapter, we described several synchronization objects for multithreaded programming. For correct concurrent programs, multiple threads of execution must be synchronized to protect the integrity of shared data. In this chapter, we illustrate basic synchronization techniques using some classic concurrency problems of producer-consumer, bounded-buffer, and readers-writers.