Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6R::P6StackLock Class Reference

#include <p6lock.h>

Public Member Functions

 P6StackLock (p6ILock *pLock)
 
 ~P6StackLock ()
 

Protected Attributes

P6R::p6ILockm_pLock
 

Detailed Description

Stack based non-reentrant lock.

This class is used to provide mutual exclusion for the scope of the current stack frame. When the leaving the current frame, the lock is released.

Example usage:

* extern p6ILock *pLock;
* P6VOID func() {
* P6StackLock lockme(pLock);
*
* ...protected code
* }
*

Definition at line 365 of file p6lock.h.


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