CComAutoDeleteCriticalSection Class
This class provides methods for obtaining and releasing ownership of a critical section object.
Syntax
class CComAutoDeleteCriticalSection : public CComSafeDeleteCriticalSection
Remarks
CComAutoDeleteCriticalSection
derives from the class CComSafeDeleteCriticalSection. However, CComAutoDeleteCriticalSection
overrides the Term method to private
access, which forces internal memory cleanup to occur only when instances of this class go out of scope or are explicitly deleted from memory.
This class introduces no additional methods over its base class. See CComSafeDeleteCriticalSection and CComCriticalSection for more information on critical section helper classes.
Inheritance Hierarchy
CComAutoDeleteCriticalSection
Requirements
Header: atlcore.h
See also
CComSafeDeleteCriticalSection Class
CComCriticalSection Class
Class Overview
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for