MITHREAD::CONTAINERITEMSYNC::OBJECT Class Reference

This class holds the lock on the synchronization object until the dtor or the Release() method is called. More...

#include <mi32/containeritemsync.h>

List of all members.

Public Member Functions

 OBJECT ()
 ~OBJECT ()
void Release ()

Detailed Description

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.


Constructor & Destructor Documentation

MITHREAD::CONTAINERITEMSYNC::OBJECT::OBJECT (  )  [inline]

Default ctor.

MITHREAD::CONTAINERITEMSYNC::OBJECT::~OBJECT (  )  [inline]

Default dtor.

Calls Release() to give up its lock.


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:36:37 2012 for TNTsdk 2012 by  doxygen 1.6.1