Modern Multithreading: Implementing, Testing, and Debugging Multithreaded Java and C++/Pthreads/Win32 Programs

Richard H. Carver

  • 出版商: Wiley
  • 出版日期: 2005-10-01
  • 定價: $2,980
  • 售價: 5.0$1,490
  • 語言: 英文
  • 頁數: 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. 測試和調試並發程序

為了幫助學生和教師,已實現了類庫,提供了所有涵蓋內容的工作示例。這些庫和它們支持的測試技術可用於評估學生編寫的程序。

每章包括練習,以建立程序編寫技巧,並確保讀者掌握了該章節的關鍵概念。文本中所有示例列表的源代碼以及同步庫的啟動文件和測試用例也提供了。

這本教科書適用於計算機科學本科和研究生學生。由於其豐富的實用材料和包含的工作代碼,以及對測試和調試的強調,它也是實踐程序員的一個非常有用的參考資料。

目錄:
前言
1. 並發編程介紹
2. 關鍵區域問題
3. 信號量和鎖
4. 監視器
5. 消息傳遞
6. 分佈式程序中的消息傳遞
7. 測試和調試並發程序
進一步閱讀
參考文獻
練習