public interface HjEventCount
Synchronization with Eventcounts and Sequencers. David P. Reed and Rajendra K. Kanodia. Communications of the ACM, Volume 22, Number 2 (February 1979), 115-123.
Modifier and Type | Method and Description |
---|---|
void |
advance()
The primitive advance() is used to signal the occurrence of an event.
|
void |
await(long v)
Quite often, a process may not wish to execute until some event in a class in which it has interest has happened.
|
long |
read()
Return the current value of an eventcount.
|
void advance()
long read()
void await(long v) throws SuspendableException
v
- The value of the eventcount to wait untilSuspendableException
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.