CCritSec Class (Windows Embedded CE 6.0)
1/6/2010
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 |
---|---|
Constructs a CCritSec object. |
|
Locks the critical section object. |
|
Unlocks the critical section object. |
Requirements
Windows Embedded CE | Windows CE 2.12 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment |