User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - OS - Threads - ConditionalMutexC
 

  PUBLIC
ConditionalMutexC::ConditionalMutexC(void)
ConditionalMutexC::~ConditionalMutexC(void)
ConditionalMutexC::Broadcast(void)
ConditionalMutexC::Signal(void)
ConditionalMutexC::Wait(void)
ConditionalMutexC::Wait(RealT)
MutexC::Lock(void)
MutexC::TryLock(void)
MutexC::Unlock(void)

   ConditionalMutexC   
 
Conditional variable.
 
include "Ravl/Threads/ConditionalMutex.hh"
Created:02/07/99 
User Level:Normal
Library:RavlThreads
In Scope:RavlN

Comments:
See SemaphoreC for an example of its use.

Parent Classes: Variables:
Methods:
ConditionalMutexC()

~ConditionalMutexC()
Destructor

void Broadcast()

void Signal()

void Wait()

bool Wait(RealT maxTime)
Wait for conditional.
This unlocks the mutex and then waits for a signal. from either Signal, Broadcast or timeout, when it get it the mutex is re-locked and control returned to the program.

Returns false, if timeout occures.


#include "Ravl/Threads/Mutex.hh"
bool Lock(void)
Lock mutex.

bool TryLock(void)
Try and lock mutex.

bool Unlock(void)
Unlock mutex.


Maintainer:Charles Galambos, Created: 02/07/99, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002