Multithreaded Programming With PThreads (Paperback) (使用 PThreads 的多執行緒程式設計 (平裝本))
Bil Lewis, Daniel J. Berg, Sun Microsystems Press
- 出版商: Prentice Hall
- 出版日期: 1997-12-19
- 售價: $1,440
- 貴賓價: 9.5 折 $1,368
- 語言: 英文
- 頁數: 432
- 裝訂: Paperback
- ISBN: 0136807291
- ISBN-13: 9780136807292
-
相關分類:
Operating-system
立即出貨 (庫存 < 3)
買這商品的人也買了...
-
$2,360$2,242 -
$780$616 -
$450$356 -
$990$891 -
$860$731 -
$520$442 -
$650$514 -
$620$484 -
$490$387 -
$720$569 -
$420$332 -
$950$751 -
$950$751 -
$450$351 -
$600$468 -
$780$663 -
$520$406 -
$580$458 -
$580$458 -
$680$578 -
$590$460 -
$980$774 -
$520$411 -
$420$357 -
$580$458
相關主題
商品描述
Summary
68072-8
Based on the best-selling Threads Primer, Multithreaded Programming with Pthreads gives you a solid understanding of Posix threads: what they are, how they work, when to use them, and how to optimize them.
It retains the clarity and humor of the Primer, but includes expanded comparisons to Win32 and OS/2 implementations. Code examples tested on all of the major UNIX platforms are featured along with detailed explanations of how and why they use threads.
In addition to scheduling, synchronization, signal handling, etc., special emphasis is placed on:
- Cancellation: What does it mean to do bounded-time cancellation? What are the numerous details the programmer must deal with, and how do you avoid using cancellation at all?
- Error expeditions: What do they all mean and what should you do about them?
- Performance: How fast can a program run, and what are the limiting factors? Theoretical issues are considered and a case study for NFS is presented.
- Hardware: A number of machine designs are examined (Sun, SGI, and DEC), focusing on issues of performance, synchronization instructions, bus design, and invalidation techniques.
- Languages: The use of threads in other languages (Lisp, Eiffel, Smalltalk, etc.) is examined, with special emphasis on C++ and Java.
- References: Pointers to the newsgroup, FAQs, web pages, code examples, other books, freeware tools, and commercial products are included.
- More than anything else this is a practical book-it tells you what can and cannot be done with threads and why. In short, everything you need to know to build faster, smarter, multithreaded applications.
商品描述(中文翻譯)
根據暢銷書《Threads Primer》,《Multithreaded Programming with Pthreads》提供了對Posix線程的深入理解:它們是什麼,如何工作,何時使用它們以及如何優化它們。
本書保留了《Primer》的清晰和幽默,但增加了與Win32和OS/2實現的比較。書中展示了在所有主要UNIX平台上測試過的代碼示例,並詳細解釋了它們如何以及為什麼使用線程。
除了調度、同步、信號處理等方面外,特別強調以下內容:
- 取消:有界時間取消意味著什麼?程序員必須處理哪些細節,如何避免使用取消?
- 錯誤處理:各種錯誤意味著什麼,應該如何處理?
- 性能:程序可以運行多快,有哪些限制因素?考慮了理論問題並提供了NFS的案例研究。
- 硬件:檢查了幾種機器設計(Sun、SGI和DEC),重點關注性能、同步指令、匯流排設計和失效技術等問題。
- 語言:探討了其他語言(Lisp、Eiffel、Smalltalk等)中的線程使用情況,特別強調C++和Java。
- 參考資料:包括新聞組、常見問題、網頁、代碼示例、其他書籍、免費工具和商業產品的指引。
總之,這是一本實用的書籍,告訴您可以使用線程做什麼,不能做什麼,以及為什麼。簡而言之,這本書提供了建立更快、更智能的多線程應用程序所需的一切知識。