Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 2. Access Control > Synchronizing Resource Access Across Processes on W...

Recipe 2.10. Synchronizing Resource Access Across Processes on Windows

2.10.1. Problem

You want to ensure that two processes cannot simultaneously access the same resource.

2.10.2. Solution

Use a named mutex (mutually exclusive lock) to synchronize access to the resource.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint