Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
This class provides methods for locking and unlocking a critical section object.
template<
class TLock
> class CComCritSecLock
Parameters
- TLock
The object to be locked and unlocked.
Members
Public Constructors
Name |
Description |
|---|---|
The constructor. |
|
The destructor. |
Public Methods
Name |
Description |
|---|---|
Call this method to lock the critical section object. |
|
Call this method to unlock the critical section object. |
Remarks
Use this class to lock and unlock objects in a safer way than with the CComCriticalSection Class or CComAutoCriticalSection Class.
Requirements
Header: atlbase.h