class PSyncPoint

This class defines a thread synchonisation object.

Inheritance:


Public Methods

[more] PSyncPoint ()
Create a new sync point


Inherited from PSemaphore:

Public Methods

Construction

Operations


Inherited from PObject:

Public Methods

Run Time Type functions

I/O functions

Miscellaneous functions

Public Members

Comparison functions


Documentation

This class defines a thread synchonisation object. This form of semaphore is used to indicate an event has occurred. A thread may block on theis sync point and wait until another thread signals that it may continue. eg:
    ... 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();

o PSyncPoint()
Create a new sync point


Direct child classes:
PSyncPointAck

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.