CSyncObject Class
A pure virtual class that provides functionality common to the synchronization objects in Win32.
class CSyncObject : public CObject
Members
Public Constructors
Name |
Description |
---|---|
Constructs a CSyncObject object. |
Public Methods
Name |
Description |
---|---|
Gains access to the synchronization object. |
|
Gains access to the synchronization object. |
Public Operators
Name |
Description |
---|---|
Provides access to the synchronization object. |
Public Data Members
Name |
Description |
---|---|
The handle to the underlying synchronization object. |
Remarks
The Microsoft Foundation Class Library provides several classes derived from CSyncObject. These are CEvent, CMutex, CCriticalSection, and CSemaphore.
For information on how to use the synchronization objects, see the article Multithreading: How to Use the Synchronization Classes.
Inheritance Hierarchy
CSyncObject
Requirements
Header: afxmt.h