Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6lock.h File Reference
#include "p6com.h"
#include "p6filetypes.h"

Go to the source code of this file.

Classes

interface  P6R::p6ICondvar
 
interface  P6R::p6ILock
 
interface  P6R::p6IMonitor
 
interface  P6R::p6INamedSemaphore
 
interface  P6R::p6IRWLock
 
class  P6R::P6StackLock
 
class  P6R::P6StackMonitor
 
class  P6R::P6StackRWLock
 

Namespaces

 P6R
 

Macros

#define COMP_p6Condvar   {0x716C57F7,0x6A1C,0x41EC,{0x8F,0xB7,0xF2,0x0D,0xC1,0x0B,0x6D,0x51}}
 
#define COMP_p6Lock   {0xC6E9AC1E,0xAC4D,0x46c8,{0xAE,0xB7,0x76,0x8A,0xDD,0xD2,0x43,0x7C}}
 
#define COMP_p6Monitor   {0xDEE214DF,0xAA66,0x4c0c,{0xA2,0x11,0x41,0x4A,0xDB,0x8F,0xBF,0x8A}}
 
#define COMP_p6NamedSemaphore   {0x80CCAC2E,0xE5B1,0x446C,{0x80,0x18,0x03,0x9E,0x96,0x27,0xBB,0x9A}}
 
#define COMP_p6RWLock   {0x2A9246EA,0x6D01,0x42de,{0xAE,0xC9,0xDA,0x5B,0x66,0x19,0xF4,0xF5}}
 
#define IF_p6ICondvar   {0xF50FA083,0x1363,0x464C,{0x8E,0x25,0xF5,0x71,0x96,0x6D,0x36,0x6E}}
 
#define IF_p6ILock   {0xD855D877,0x1196,0x4444,{0xAF,0x2B,0xA1,0x80,0x5C,0xA5,0x88,0x0B}}
 
#define IF_p6IMonitor   {0xAC0338DF,0x9B66,0x4c30,{0x89,0x4D,0x95,0x03,0x3B,0xD0,0xD6,0x82}}
 
#define IF_p6INamedSemaphore   {0xC136A189,0xE7F4,0x4522,{0xB9,0x6C,0xE8,0x4D,0x40,0xF8,0x8D,0xC4}}
 
#define IF_p6IRWLock   {0xE3FF0744,0x6679,0x4f90,{0xBA,0xDD,0x3A,0xB7,0xDB,0xE3,0xB6,0xEA}}
 
#define INTERFACE   p6ILock
 
#define INTERFACE   p6IMonitor
 
#define INTERFACE   p6ICondvar
 
#define INTERFACE   p6IRWLock
 
#define INTERFACE   p6INamedSemaphore
 

Enumerations

enum  P6R::P6RWLOCKMODE { P6R::P6READ_LOCK = 0, P6R::P6WRITE_LOCK = 1 }
 
enum  P6R::P6SEMFLAG { P6R::P6SF_NOFLAGS = 0x00000000, P6R::P6SF_CREATE = 0x00000001, P6R::P6SF_EXCLUSIVE = 0x00000002 }
 

Detailed Description

Thread and process syncronization interfaces and classes.

These components provide various thread and process syncronization interfaces and classes. The classes defined are meant to declared on the stack to provide thread safety for code and data in the scope of the stack frame. If the stack is unwound due to normal exit or exception, the lock/montor etc. is automatacially released.

Definition in file p6lock.h.