In file mutex.hxx:

class OThreadMutex : public OObject, public IMutex

OThreadMutex

Inheritance:


Public Methods

virtual void acquire ()
Blocks if Mutex is already in use
OThreadMutex ()
Creates mutex
virtual void release ()
releases the mutex.
virtual Boolean tryToAcquire ()
Tries to get the mutex without blocking
~OThreadMutex ()
Implicitly destroys mutex

Inherited from OObject:

Public Methods

virtual const OClassInfo& getClassInfo()
Boolean isKindOf(const OClassInfo& rClass)
void operator delete(void* p)
void* operator new(size_t size)

Inherited from IMutex:


Documentation

OThreadMutex
OThreadMutex()
Creates mutex

~OThreadMutex()
Implicitly destroys mutex

virtual void acquire()
Blocks if Mutex is already in use

virtual Boolean tryToAcquire()
Tries to get the mutex without blocking
Returns:
True if mutex could be obtained, otherwise False

virtual void release()
releases the mutex.


This class has no child classes.
Author:
Bernd Hofner
Version:
1.0

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de