CCritSec Class (Windows CE 5.0)
This object provides intraprocess synchronization.
The current implementation uses the Microsoft® Win32® APIs that use the CRITICAL_SECTION type.
The safest way to use CCritSec objects is to lock them with a CAutoLock object that guarantees to unlock the object when it goes out of scope and compiles to efficient inline code.
Member Functions
Member function | Description |
---|---|
CCritSec | Constructs a CCritSec object. |
Lock | Locks the critical section object. |
Unlock | Unlocks the critical section object. |
Requirements
Microsoft DirectShow® applications and DirectShow filters have different include file and link library requirements.
For more information, see Setting Up the Build Environment.
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:
Send Feedback on this topic to the authors