class CComCriticalSection
CComCriticalSection provides methods for obtaining and releasing ownership of a critical section object. CComCriticalSection is similar to class CComAutoCriticalSection, except that you must explicitly initialize and release the critical section.
Typically, you use CComCriticalSection through the typedef name CriticalSection. This name references CComCriticalSection when CComMultiThreadModel is being used.
#include <atlbase.h>
See Also CComFakeCriticalSection