共用方式為


CSyncObject Class

A pure virtual class that provides functionality common to the synchronization objects in Win32.

class CSyncObject : public CObject

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.

Requirements

Header: afxmt.h

See Also

Concepts

CSyncObject Members

CObject Class

Hierarchy Chart