Concurrent Programming in Mac OS X and iOS: Unleash Multicore Performance with Grand Central Dispatch (Paperback)

Vandad Nahavandipoor

  • 出版商: O'Reilly
  • 出版日期: 2011-07-05
  • 定價: $700
  • 售價: 1.4$99
  • 語言: 英文
  • 頁數: 60
  • 裝訂: Paperback
  • ISBN: 1449305636
  • ISBN-13: 9781449305635
  • 相關分類: Apple DeveloperMAC OS 蘋果電腦
  • 立即出貨(限量) (庫存=4)

商品描述

Threads and the resources allocated for/inside them are very difficult to manage. With mobile devices starting to have more than 1 core (CPU), we can see the complications in managing threads by the programmer. In fact, multiple cores make it very difficult (or even impossible) for programmers to manage their application's resources effectively. Grand Central Dispatch (GCD) is a C API at the core of OS X and iOS which allows programmers to dispatch "tasks" or "block objects" to the CPU. GCD will then manage the underlying threads.

商品描述(中文翻譯)

執行緒和其內部分配的資源非常難以管理。隨著行動裝置開始擁有多於一個核心(CPU),我們可以看到程式設計師在管理執行緒方面面臨的複雜問題。事實上,多核心使得程式設計師很難(甚至是不可能)有效地管理應用程式的資源。Grand Central Dispatch(GCD)是OS X和iOS核心的C API,它允許程式設計師將「任務」或「區塊物件」分派給CPU。GCD將負責管理底層的執行緒。