{"product_id":"modern-multithreading-implementing-testing-and-debugging-multithreaded-java-and-c-pthreads-win32-programs-paperback-softback-9780471725046","title":"Modern Multithreading; Implementing, Testing, and Debugging Multithreaded Java and C++\/Pthreads\/Win32 Programs (Paperback \/ softback) 9780471725046","description":"\u003cfont face=\"Georgia\"\u003e\r\n\u003cp\u003e\u003cfont size=\"6\"\u003eModern Multithreading\u003c\/font\u003e\u003cbr\u003e\r\n\u003cfont size=\"5\"\u003eImplementing, Testing, and Debugging Multithreaded Java and C++\/Pthreads\/Win32 Programs\u003c\/font\u003e\u003c\/p\u003e\r\n\r\n\r\n\r\n\r\n\u003cp\u003e\u003cfont size=\"4\"\u003eRichard H. Carver (Author), Kuo-Chung Tai (Author)\u003c\/font\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cfont size=\"3\"\u003e9780471725046, Wiley\u003c\/font\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cfont size=\"3\"\u003ePaperback \/ softback, published 11 November 2005\u003c\/font\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cfont size=\"3\"\u003e480 pages\u003cbr\u003e23.7 x 15.8 x 2.4 cm, 0.689 kg\u003c\/font\u003e\u003c\/p\u003e\r\n\r\n\r\n\r\n\u003cp align=\"justify\"\u003e\u003cem\u003e\u003cfont size=\"3\"\u003e\"…an excellent work on concurrent programming, examining languages and libraries for developing multithreaded programs.\" (\u003ci\u003eCHOICE\u003c\/i\u003e, April 2006)\u003c\/font\u003e\u003c\/em\u003e\u003c\/p\u003e\r\n\r\n\u003cp align=\"justify\"\u003e\u003cstrong\u003e\u003cfont size=\"3\"\u003eMaster the essentials of concurrent programming,including testing and debugging\u003cbr\u003e \u003cbr\u003e 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.\u003cbr\u003e \u003cbr\u003e 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:\u003cbr\u003e * Introduction to concurrent programming\u003cbr\u003e * The critical section problem\u003cbr\u003e * Semaphores and locks\u003cbr\u003e * Monitors\u003cbr\u003e * Message-passing\u003cbr\u003e * Message-passing in distributed programs\u003cbr\u003e * Testing and debugging concurrent programs\u003cbr\u003e \u003cbr\u003e 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.\u003cbr\u003e \u003cbr\u003e 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.\u003cbr\u003e \u003cbr\u003e 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.\u003c\/font\u003e\u003c\/strong\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cfont size=\"3\"\u003e\u003cb\u003ePreface.\u003c\/b\u003e  \u003cp\u003e\u003cb\u003e1 Introduction to Concurrent Programming.\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003e1.1 Processes and Threads: An Operating System’s View.\u003c\/p\u003e \u003cp\u003e1.2 Advantages of Multithreading.\u003c\/p\u003e \u003cp\u003e1.3 Threads in Java.\u003c\/p\u003e \u003cp\u003e1.4 Threads in Win32.\u003c\/p\u003e \u003cp\u003e1.5 Pthreads.\u003c\/p\u003e \u003cp\u003e1.6 C++ \u003ci\u003eThread\u003c\/i\u003e Class.\u003c\/p\u003e \u003cp\u003e1.7 Thread Communication.\u003c\/p\u003e \u003cp\u003e1.8 Testing and Debugging Multithreaded Programs.\u003c\/p\u003e \u003cp\u003e1.9 Thread Synchronization.\u003c\/p\u003e \u003cp\u003eFurther Reading.\u003c\/p\u003e \u003cp\u003eReferences.\u003c\/p\u003e \u003cp\u003eExercises.\u003c\/p\u003e \u003cp\u003e\u003cb\u003e2 The Critical Section Problem.\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003e2.1 Software Solutions to the Two-Thread Critical Section Problem.\u003c\/p\u003e \u003cp\u003e2.2 Ticket-Based Solutions to the n-Thread Critical Section Problem.\u003c\/p\u003e \u003cp\u003e2.3 Hardware Solutions to the n-Thread Critical Section Problem.\u003c\/p\u003e \u003cp\u003e2.4 Deadlock, Livelock, and Starvation.\u003c\/p\u003e \u003cp\u003e2.5 Tracing and Replay for Shared Variables.\u003c\/p\u003e \u003cp\u003e2.5.6 Note on Shared Memory Consistency.\u003c\/p\u003e \u003cp\u003eFurther Reading.\u003c\/p\u003e \u003cp\u003eReferences.\u003c\/p\u003e \u003cp\u003eExercises.\u003c\/p\u003e \u003cp\u003e\u003cb\u003e3 Semaphores and Locks.\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003e3.1 Counting Semaphores.\u003c\/p\u003e \u003cp\u003e3.2 Using Semaphores.\u003c\/p\u003e \u003cp\u003e3.3 Binary Semaphores and Locks.\u003c\/p\u003e \u003cp\u003e3.4 Implementing Semaphores.\u003c\/p\u003e \u003cp\u003e3.5 Semaphore-Based Solutions to Concurrent Programming Problems.\u003cbr\u003e \u003c\/p\u003e \u003cp\u003e3.6 Semaphores and Locks in Java.\u003c\/p\u003e \u003cp\u003e3.7 Semaphores and Locks in Win32.\u003c\/p\u003e \u003cp\u003e3.7.6 Example: C++\/Win32 Bounded Buffer.\u003c\/p\u003e \u003cp\u003e3.8 Semaphores and Locks in Pthreads.\u003c\/p\u003e \u003cp\u003e3.9 Another Note on Shared Memory Consistency.\u003c\/p\u003e \u003cp\u003e3.10 Tracing, Testing, and Replay for Semaphores and Locks.\u003c\/p\u003e \u003cp\u003eFurther Reading.\u003c\/p\u003e \u003cp\u003eReferences.\u003c\/p\u003e \u003cp\u003eExercises.\u003c\/p\u003e \u003cp\u003e\u003cb\u003e4 Monitors.\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003e4.1 Definition of Monitors.\u003c\/p\u003e \u003cp\u003e4.2 Monitor-Based Solutions to Concurrent Programming Problems.\u003c\/p\u003e \u003cp\u003e4.3 Monitors in Java.\u003c\/p\u003e \u003cp\u003e4.4 Monitors in Pthreads.\u003c\/p\u003e \u003cp\u003e4.5 Signaling Disciplines.\u003c\/p\u003e \u003cp\u003e4.6 Using Semaphores to Implement Monitors.\u003c\/p\u003e \u003cp\u003e4.7 Monitor Toolbox for Java.\u003c\/p\u003e \u003cp\u003e4.8 Monitor Toolbox for Win32\/C++\/Pthreads.\u003c\/p\u003e \u003cp\u003e4.9 Nested Monitor Calls.\u003c\/p\u003e \u003cp\u003e4.10 Tracing and Replay for Monitors.\u003c\/p\u003e \u003cp\u003e4.11 Testing Monitor-Based Programs.\u003c\/p\u003e \u003cp\u003eFurther Reading.\u003c\/p\u003e \u003cp\u003eReferences.\u003c\/p\u003e \u003cp\u003eExercises.\u003c\/p\u003e \u003cp\u003e\u003cb\u003e5 Message Passing.\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003e5.1 Channel Objects.\u003c\/p\u003e \u003cp\u003e5.2 Rendezvous.\u003c\/p\u003e \u003cp\u003e5.3 Selective Wait.\u003c\/p\u003e \u003cp\u003e5.4 Message-Based Solutions to Concurrent Programming Problems.\u003c\/p\u003e \u003cp\u003e5.5 Tracing, Testing, and Replay for Message-Passing Programs.\u003c\/p\u003e \u003cp\u003eFurther Reading.\u003c\/p\u003e \u003cp\u003eReferences.\u003c\/p\u003e \u003cp\u003eExercises.\u003c\/p\u003e \u003cp\u003e\u003cb\u003e6 Message Passing in Distributed Programs.\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003e6.1 TCP Sockets.\u003c\/p\u003e \u003cp\u003e6.3 Timestamps and Event Ordering.\u003c\/p\u003e \u003cp\u003e6.4 Message-Based Solutions to Distributed Programming Problems.\u003c\/p\u003e \u003cp\u003e6.5 Testing and Debugging Distributed Programs.\u003c\/p\u003e \u003cp\u003ePrograms.\u003c\/p\u003e \u003cp\u003eFurther Reading.\u003c\/p\u003e \u003cp\u003eReferences.\u003c\/p\u003e \u003cp\u003eExercises.\u003c\/p\u003e \u003cp\u003e\u003cb\u003e7 Testing and Debugging Concurrent Programs.\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003e7.1 Synchronization Sequences of Concurrent Programs.\u003c\/p\u003e \u003cp\u003e7.2 Paths of Concurrent Programs.\u003c\/p\u003e \u003cp\u003e7.3 Definitions of Correctness and Faults for Concurrent Programs.\u003c\/p\u003e \u003cp\u003e7.4 Approaches to Testing Concurrent Programs.\u003c\/p\u003e \u003cp\u003e7.5 Reachability Testing.\u003c\/p\u003e \u003cp\u003eFurther Reading.\u003c\/p\u003e \u003cp\u003eReferences.\u003c\/p\u003e \u003cp\u003eExercises.\u003c\/p\u003e \u003cp\u003e\u003cb\u003eIndex.\u003c\/b\u003e\u003c\/p\u003e\u003c\/font\u003e\u003c\/p\u003e\r\n\r\n\u003cp\u003e\u003cfont size=\"3\"\u003eSubject Areas: Computer programming \/ software development [\u003ca title=\"See our other books on Computer programming \/ software development\" href=\"https:\/\/freshlyprintedbooks.co.uk\/search?q=%22Computer%20programming%20\/%20software%20development%20%5BUM%5D%22\"\u003eUM\u003c\/a\u003e]\u003c\/font\u003e\u003c\/p\u003e\r\n\r\n\r\n\u003c\/font\u003e","brand":"Wiley-Interscience","offers":[{"title":"Brand New","offer_id":52511053087000,"sku":"9780471725046","price":72.19,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0730\/2037\/5320\/files\/9780471725046.jpg?v=1786580217","url":"https:\/\/freshlyprintedbooks.co.uk\/products\/modern-multithreading-implementing-testing-and-debugging-multithreaded-java-and-c-pthreads-win32-programs-paperback-softback-9780471725046","provider":"Freshly Printed Books","version":"1.0","type":"link"}