This class holds the lock on the synchronization object until the dtor or the Release() method is called. More...
#include <mi32/containeritemsync.h>
Public Member Functions | |
| OBJECT () | |
| ~OBJECT () | |
| void | Release () |
This class holds the lock on the synchronization object until the dtor or the Release() method is called.
Place an instance of this class in another class that controls access to the container item's contents to use scoping rules to cause the lock to be released when the container's item access is complete.
| MITHREAD::CONTAINERITEMSYNC::OBJECT::OBJECT | ( | ) | [inline] |
Default ctor.
| MITHREAD::CONTAINERITEMSYNC::OBJECT::~OBJECT | ( | ) | [inline] |
Default dtor.
Calls Release() to give up its lock.
| void MITHREAD::CONTAINERITEMSYNC::OBJECT::Release | ( | ) | [inline] |
Release the lock on the synchronization object.
The container item is no longer synchronized after a call to this method.
1.6.1