template<class T>;
class HPCxx_SyncQ{
public:
operator T(); // read a value
operator =(T &); // assign a value
void read(T &); // another form of read
void write(T &); // another form of writing
int length(); // the number of values in the queue
// wait until the value is there and then
// read the value but do not remove it from
// the queue. The next waiting thread is signaled.
void waitAndCopy(T& data);
bool peek(T &); // same as Sync<>
}
Last modified: Thu Apr 22 00:22:44 EST 1999