gxThreadSafeObject.h File Reference

#include "../gx.h"

Go to the source code of this file.

Classes

class  gxThreadSafeObject
 Base class for all thread safe objects. More...
class  gxThreadSynchronizer
 Helper class to ensure that a method is sync'd and then unsync'd when the method or block goes out of scope. More...

Defines

#define GX_SYNCHRONIZE_OBJECT(theObject)   gxThreadSynchronizer gxsync(theObject)
#define GX_SYNCHRONIZE()   GX_SYNCHRONIZE_OBJECT(this)
#define GX_NOTIFY()   gxsync.notify();
#define GX_WAIT(mytime)   gxsync.wait(mytime);


Define Documentation

 
#define GX_NOTIFY (   )     gxsync.notify();
 

 
#define GX_SYNCHRONIZE (   )     GX_SYNCHRONIZE_OBJECT(this)
 

#define GX_SYNCHRONIZE_OBJECT (  theObject   )     gxThreadSynchronizer gxsync(theObject)
 

#define GX_WAIT (  mytime   )     gxsync.wait(mytime);
 


Generated on Mon Nov 21 01:01:35 2005 for gxLib by  doxygen 1.4.5