Mutual Exceptions

In this chapter, I did not consider another method of synchronization, which will be covered in detail later in this book. Here, it is only necessary to mention that this method is known as the mutual exception of the mutual exclusion object (mutex). This method of synchronization is not convenient for working with threads. On the other hand it is more suitable for processes. This synchronization object is created using the CreateMutex function. All processes that attempt to create the object that exists already get the descriptor of the existing object created by another process. The most important feature of the mutex object is that only one process can own it. Microsoft's documentation recommends that you use this object to determine whether a specific application has started. This topic will be covered later.



The Assembly Programming Master Book
The Assembly Programming Master Book
ISBN: 8170088178
EAN: 2147483647
Year: 2004
Pages: 140
Authors: Vlad Pirogov

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net