Win32 Multithreaded Programming
Home > Computing and Information Technology > Operating systems > Win32 Multithreaded Programming: Building Efficient, High-Performance Win32 Applications
Win32 Multithreaded Programming: Building Efficient, High-Performance Win32 Applications

Win32 Multithreaded Programming: Building Efficient, High-Performance Win32 Applications

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

Many Windows developers still write code as if their application is a single entity that, while it is running, has complete control of all system resources. This legacy from the days of DOS means that developers frequently fail to take advantage of Win32's support of multiple threads of execution to improve their application's performance or to enhance its functionality. For instance, a main thread can handle interactions with the user, while a background "worker" thread can handle repainting the application window or performing some background calculations. But multithreaded programming means more than adding threads; it also requires that the code be thread-safe. Win32 Multithread Programming explains the concepts of multithreaded programs, thus providing the developer with the knowledge necessary to skillfully construct efficient and complex applications. From basic thread synchronization using mutexes and semaphores, to advanced topics like creating reusable thread pools or implementing a deferred processing queue, the book uses real-world applications and carefully constructed examples to illustrate the principles of multithreaded programming. Some of the topics include: How the Windows operating systems handle threads Multithreading primitives in the Win32 API Techniques for generating thread-safe dynamic link libraries Advanced techniques for thread synchronization Basic scenarios for synchronizing threads Common designs for building multithreaded user interfaces Debugging multithreaded applications The CD-ROM accompanying the book features Mcl, the authors' C++ class library for multithreaded programming, which both wraps multithreaded API functions and easily supports more complex multithreaded scenarios. For programmers using MFC, an additional library, Mcl4Mfc, is included for MFC compatibility. Win32 Multithread Programming is an essential resource for any developer interested in learning about Win32 multithreaded programming in order to create high-performance, effective applications.

Table of Contents:
Preface 1. Introduction What Is Multithreaded Programming? Why Write a Multithreaded Program (Why Use Threads)? When Not to Use Threads Making the Transition to Multithreaded Programming 2.Thread Scheduling and Basic Concepts Thread Scheduling Multithreaded Programming Concepts 3.Process and Thread APIs Kernel Objects Processes Thread Mechanics Process Lifetime Revisited 4.Thread Synchronization Tools The Interlocked Functions Critical Sections WaitForSingleObject and WaitForMultipleObjects Mutexes Semaphores Events 5.Interthread Communication Shared Memory and Memory Mapped Files Anonymous Pipes Threads and Message Processing MsgWaitForMultipleObjects 6. Mcl: A C++ Class Library for Multithreaded Programming CMcl Library Class Hierarchy CMcl Class Library Implementation 7.Mcl: Higher-Level Classes CmclSharedMemory CmclLinkedLists CmclMailbox CMclMonitor Makefile for the CMcl Class Library 8.Basic Thread Synchronization Mutual Exclusion of a Resource Single Admission Gate Alterable Waits Competition for Limited Resources Producer and Consumer Variations 9. Advanced Encapsulation Techniques Objects and Thread Synchronization Thread Local Storage 10.Advanced Thread Management Techniques On-Demand Threads Thread Pools 11. DLLs in Multithreaded Programs Anatomy and Semantics of 32-bit DLLs The DllMain Function Exporting Functions and Data Importing Functions and Data Implementing a Considerate DLL Static and Global C++ Objects in DLLs 12. Multithreaded User Interfaces and MFC Win32 Windowing System Fundamentals Multithreaded Programs and User Interfaces Why Use MFC? Using MFC in Multithreaded Programs Using Mcl in MFC Programs The Mcl4Mfc Class Library 13. Basic Multithreaded GUI Designs Three Basic Design Patterns A Self-Animated Control Animated Simulation of the Dining Philosopher's Problem Autonomous Dialog Boxes 14. Structured Exception Handling Overview of Structured Exception Handling Common Uses for Structured Exception Handling Strategies for Dealing with Exceptions Mixing C++ and Structured Exception Handling 15. Debugging Multithreaded Programs Thinking in Parallel The HeisenBUG Uncertainty Principle Step Through Your Code Using the Visual C++ Thread and Callstack Windows Which Is the Primary Thread? Know What Thread You're Debugging Watch Out for Context Switches While Stepping Time Does Not Stand Still in the Debugger Know Which Thread Owns Which Window Using OutputDebugString Shred Your Memory Afterword A. Mcl C++ Class Library Reference B. Mcl4Mfc C++ Class Library Reference Index


Best Sellers


Product Details
  • ISBN-13: 9781565922969
  • Publisher: O'Reilly Media
  • Publisher Imprint: O'Reilly Media
  • Height: 232 mm
  • Returnable: N
  • Weight: 1040 gr
  • ISBN-10: 1565922964
  • Publisher Date: 06 Jan 1998
  • Binding: Book
  • Language: English
  • Sub Title: Building Efficient, High-Performance Win32 Applications
  • Width: 178 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Win32 Multithreaded Programming: Building Efficient, High-Performance Win32 Applications
O'Reilly Media -
Win32 Multithreaded Programming: Building Efficient, High-Performance Win32 Applications
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Win32 Multithreaded Programming: Building Efficient, High-Performance Win32 Applications

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!