Modern Multithreading: Implementing, Testing, and Debugging Multithreaded Java and C++/Pthreads/Win32 Programs
暫譯: 現代多執行緒:實作、測試與除錯多執行緒 Java 和 C++/Pthreads/Win32 程式

Richard H. Carver

  • 出版商: Wiley
  • 出版日期: 2005-10-01
  • 定價: $2,980
  • 售價: 9.5$2,831
  • 語言: 英文
  • 頁數: 480
  • 裝訂: Paperback
  • ISBN: 0471725048
  • ISBN-13: 9780471725046
  • 相關分類: C++ 程式語言Java 程式語言
  • 立即出貨(限量)

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

相關主題

商品描述

Description:

Master the essentials of concurrent programming,including testing and debugging

This textbook examines languages and libraries for multithreaded programming. Readers learn how to create threads in Java and C++, and develop essential concurrent programming and problem-solving skills. Moreover, the textbook sets itself apart from other comparable works by helping readers to become proficient in key testing and debugging techniques. Among the topics covered, readers are introduced to the relevant aspects of Java, the POSIX Pthreads library, and the Windows Win32 Applications Programming Interface.

The authors have developed and fine-tuned this book through the concurrent programming courses they have taught for the past twenty years. The material, which emphasizes practical tools and techniques to solve concurrent programming problems, includes original results from the authors' research.

Chapters include:

  • Introduction to concurrent programming
  • The critical section problem
  • Semaphores and locks
  • Monitors
  • Message-passing
  • Message-passing in distributed programs
  • Testing and debugging concurrent programs

As an aid to both students and instructors, class libraries have been implemented to provide working examples of all the material that is covered. These libraries and the testing techniques they support can be used to assess student-written programs.

Each chapter includes exercises that build skills in program writing and help ensure that readers have mastered the chapter's key concepts. The source code for all the listings in the text and for the synchronization libraries is also provided, as well as startup files and test cases for the exercises.

This textbook is designed for upper-level undergraduates and graduate students in computer science. With its abundance of practical material and inclusion of working code, coupled with an emphasis on testing and debugging, it is also a highly useful reference for practicing programmers.

 

 

Table of Contents:

Preface.

1. Introduction to Concurrent Programming.

2. The Critical Section Problem.

3. Semaphores and Locks.

4. Monitors.

5. Message-Passing.

6. Message-Passing in Distirbuted Programs.

7. Testing and Debugging Concurrent Programs.

Further Readiing.

References.

Exercises.

Index.

商品描述(中文翻譯)

**描述:**
掌握並發程式設計的基本要素,包括測試和除錯
這本教科書探討了多執行緒程式設計的語言和函式庫。讀者將學習如何在 Java 和 C++ 中創建執行緒,並發展基本的並發程式設計和問題解決技能。此外,這本教科書與其他類似作品的不同之處在於,它幫助讀者熟練掌握關鍵的測試和除錯技術。涵蓋的主題中,讀者將接觸到 Java、POSIX Pthreads 函式庫以及 Windows Win32 應用程式介面的相關方面。

作者在過去二十年教授的並發程式設計課程中開發並完善了這本書。這些材料強調實用工具和技術,以解決並發程式設計問題,並包含作者研究的原創成果。

章節包括:
- 並發程式設計簡介
- 臨界區問題
- 信號量和鎖
- 監視器
- 訊息傳遞
- 分散式程式中的訊息傳遞
- 測試和除錯並發程式

作為對學生和教師的輔助,已實作類別函式庫,以提供所有涵蓋材料的工作範例。這些函式庫及其支持的測試技術可用於評估學生撰寫的程式。

每個章節都包括練習,幫助建立程式撰寫技能,並確保讀者掌握章節的關鍵概念。文本中所有清單的原始碼以及同步函式庫的原始碼也會提供,還有練習的啟動檔和測試案例。

這本教科書是為計算機科學的高年級本科生和研究生設計的。由於其豐富的實用材料和包含的工作程式碼,加上對測試和除錯的重視,它對於實務程式設計師來說也是一本非常有用的參考書。

**目錄:**
前言
1. 並發程式設計簡介
2. 臨界區問題
3. 信號量和鎖
4. 監視器
5. 訊息傳遞
6. 分散式程式中的訊息傳遞
7. 測試和除錯並發程式
進一步閱讀
參考文獻
練習
索引