Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

int phCondition::broadcast  ) 
 

Wake up all threads that are waiting on the condition variable using the phCondition::timedWait() or phCondition::signalWait() methods.

Precondition:
don't need the object lock. There may be 0..n waiting threads
Postcondition:
All the waiting threads have been signaled
Returns:
A value denoting the successful execution of the broadcast.
Return values:
phFAIL The method failed to signal any threads because of some fatal error.
phSUCCESS The method succeeded in sending the broadcast to wakeup all the waiting threads.

Definition at line 220 of file phCondition.cpp.





Copyright (C) 2002 - 2007 Philip D.S. Thoren ( pthoren@users.sourceforge.net )
University Of Massachusetts at Lowell
Robotics Lab
SourceForge.net Logo

Generated on Sat Jun 16 02:44:49 2007 for phission by  doxygen 1.4.4