Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6R::p6ILock Interface Referenceabstract

#include <p6lock.h>

Inherits P6R::p6ICom.

Public Member Functions

virtual P6INT32 addref (void)=0
 
virtual P6R::P6ERR initialize (void)=0
 
virtual P6R::P6ERR lock (void)=0
 
virtual P6R::P6ERR queryInterface (const P6R::P6IID &iid, P6VOID **ppIface)=0
 
virtual P6INT32 release (void)=0
 
virtual P6R::P6ERR unlock (void)=0
 

Detailed Description

Non-reentrant, mutual exclusion lock.

This lock can be used to protect both code and data, Care must be taken however because this lock is not reentrant which means that the same thread can not grab the lock more than once. If a reentrant lock is what you need, then

See Also
P6R::p6IMonitor.

Definition at line 41 of file p6lock.h.


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