Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

PSyncPoint Class Reference

#include <syncpoint.h>

Inheritance diagram for PSyncPoint:

PSemaphore PObject PSyncPointAck List of all members.

Public Methods

 PSyncPoint ()
 PSyncPoint (const PSyncPoint &)

Detailed Description

This class defines a thread synchonisation object. This form of semaphore is used to indicate an {\it event} has occurred. A thread may block on theis sync point and wait until another thread signals that it may continue. eg: \begin{verbatim} ... thread one while (condition) { sync.Wait(); do_something(); }

... thread 2 do_something_else(); sync.Signal(); // At this point thread 1 wake up and does something. do_yet_more();

\end{verbatim}


Constructor & Destructor Documentation

PSyncPoint::PSyncPoint  
 

Create a new sync point.

PSyncPoint::PSyncPoint const PSyncPoint &   
 


The documentation for this class was generated from the following file:
Generated on Wed Mar 2 19:54:40 2005 for PWLib by doxygen1.2.18