Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - OS - Threads - ThreadEventC
 

  PUBLIC
ThreadEventC::ThreadEventC(void)
ThreadEventC::Post(void)
ThreadEventC::~ThreadEventC(void)
ThreadEventC::Wait(void)
ThreadEventC::WaitForFree(void)
ThreadEventC::ThreadsWaiting(void) const
ThreadEventC::Wait(RealT)
ThreadEventC::operator bool(void) const
ThreadEventC::Occured(void) const
ThreadEventC::Reset(void)

   ThreadEventC   
 
Broadcast Event.
 
include "Ravl/Threads/ThreadEvent.hh"
Created:25/05/2000 
Source file:Ravl/OS/Threads/Posix/ThreadEvent.hh
User Level:Normal
Library:RavlThreads
In Scope:RavlN

Variables:
ConditionalMutexC cond;

bool occured;

IntT waiting;
Count of number of threads waiting on this...

Methods:
ThreadEventC()

bool Post()
Post an event.
Returns true, if event has been posted by this thread.

~ThreadEventC()
Destructor.

void Wait()
Wait indefinitly for an event.

bool WaitForFree()
Wait for lock to be free of all waiters.

IntT ThreadsWaiting() const
Get approximation of number of threads waiting.

bool Wait(RealT maxTime)
Wait for an event.
Returns false if timed out.

operator bool() const
Test if the event has occured.

bool Occured() const
Test if event has occrued.

void Reset()
Reset an event.


Maintainer:Charles Galambos, Created: 25/05/2000, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002