Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

rwshare.h File Reference

#include <koLib/share.h>

Go to the source code of this file.

Defines

#define kAccessRead(x)   if (x) (x)->_class->readProlog(x)
#define kReleaseRead(x)   if (x) (x)->_class->readEpilog(x)
#define kAccessWrite(x)   if (x) (x)->_class->writeProlog(x)
#define kReleaseWrite(x)   if (x) (x)->_class->writeEpilog(x)
#define krwInit(x)   rwsInit(x)

Typedefs

typedef rwStatus kRWshare

Functions

void rwsInit (struct rwStatus *rws)
 initializes the access sharing of an object


Define Documentation

#define kAccessRead      if (x) (x)->_class->readProlog(x)
 

#define kAccessWrite      if (x) (x)->_class->writeProlog(x)
 

#define kReleaseRead      if (x) (x)->_class->readEpilog(x)
 

#define kReleaseWrite      if (x) (x)->_class->writeEpilog(x)
 

#define krwInit      rwsInit(x)
 


Typedef Documentation

typedef struct rwStatus kRWshare
 


Function Documentation

void rwsInit struct rwStatus   rws
 

initializes the access sharing of an object

note that we can't use "log" here because LOG uses reader/writers to performs its inline kdsInvoque :) Also note that you shouldn't use an uninitialised sharer !!


Generated on Mon Jul 14 17:00:31 2003 for Clicker32Kernel by doxygen1.2.18