查询
最新公告

现代多线程:实现、测试和调试Java和C++/Pthreads/Win32多线程程序

English | PDF | 2005 | 477 Pages | ISBN : 0471725048 | 1.8 MB

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.


掌握并发编程的基础知识,包括测试和调试 这本教材研究了用于多线程编程的语言和库。读者学习如何在Java和C++中创建线程,并开发必备的并发编程及问题解决技能。此外,与同类作品不同的是,这本教材帮助读者精通关键的测试和调试技术。涵盖的主题包括Java的相关方面、POSIX Pthreads库以及Windows Win32应用程序编程接口。 作者通过过去二十年所教授的并发编程课程发展并完善了这本书。强调用实用工具和技术解决并发编程问题的内容包涵了作者的研究成果。章节内容如下: * 并发编程介绍 * 关键区段问题 * 信号量和锁 * 监控器 * 消息传递 * 分布式程序中的消息传递 * 测试和调试并发程序 作为学生和教师的辅助工具,实现了所有涵盖材料的工作示例类库。这些库及其支持的技术可用于评估学生的代码。 每章都包括习题以建立编写代码的技能,并确保读者掌握了该章节的关键概念。书中的列表示例及同步库源码也提供给读者,还包括了练习中的启动文件和测试案例。 这本教材为计算机科学专业的高年级本科生及研究生设计。它既包含丰富的实用内容又提供了运行代码,强调测试和调试能力,也是实践程序员的极佳参考书。
Download from free file storage


本站不对文件进行储存,仅提供文件链接,请自行下载,本站不对文件内容负责,请自行判断文件是否安全,如发现文件有侵权行为,请联系管理员删除。