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