Shared-Memory Synchronization (Paperback)

Michael L. Scott

  • 出版商: Morgan & Claypool
  • 出版日期: 2013-06-01
  • 定價: $1,750
  • 售價: 9.0$1,575
  • 語言: 英文
  • 頁數: 222
  • 裝訂: Paperback
  • ISBN: 160845956X
  • ISBN-13: 9781608459568
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

Since the advent of time sharing in the 1960s, designers of concurrent and parallel systems have needed to synchronize the activities of threads of control that share data structures in memory. In recent years, the study of synchronization has gained new urgency with the proliferation of multicore processors, on which even relatively simple user-level programs must frequently run in parallel. This lecture offers a comprehensive survey of shared-memory synchronization, with an emphasis on "systems-level" issues. It includes sufficient coverage of architectural details to understand correctness and performance on modern multicore machines, and sufficient coverage of higher-level issues to understand how synchronization is embedded in modern programming languages. The primary intended audience is "systems programmers"—the authors of operating systems, library packages, language run-time systems, concurrent data structures, and server and utility programs. Much of the discussion should also be of interest to application programmers who want to make good use of the synchronization mechanisms available to them, and to computer architects who want to understand the ramifications of their design decisions on systems-level code. Table of Contents: Introduction / Architectural Background / Essential Theory / Practical Spin Locks / Busy-wait Synchronization with Conditions / Read-mostly Atomicity / Synchronization and Scheduling / Nonblocking Algorithms / Transactional Memory / Author's Biography

商品描述(中文翻譯)

自從1960年代的分時共享出現以來,並行和平行系統的設計師就需要同步共享記憶體中的控制線程的活動。近年來,隨著多核處理器的普及,同步研究變得更加迫切,即使是相對簡單的用戶級程序也必須經常並行運行。本講座提供了對共享內存同步的全面調查,重點關注“系統級”問題。它包括足夠的架構細節,以了解現代多核機器上的正確性和性能,以及足夠的高級問題,以了解同步如何嵌入現代編程語言中。主要的目標受眾是“系統程序員”-操作系統、庫包、語言運行時系統、並行數據結構以及服務器和實用程序的作者。討論的大部分內容也對希望充分利用可用同步機制的應用程序員以及希望了解其設計決策對系統級代碼的影響的計算機架構師有興趣。目錄:引言/架構背景/基本理論/實用自旋鎖/帶條件的忙等同步/讀多寫少的原子性/同步和調度/非阻塞算法/事務性內存/作者簡介