public interface InternalPhaser extends HjPhaser
InternalPhaser interface.
Modifier and Type | Method and Description |
---|---|
int |
busyWaitLimit()
Returns the busyWaitLimit of the phaser.
|
boolean |
doWaitSingle1()
doWaitSingle1.
|
boolean |
doWaitSingle1(String loc)
doWaitSingle1.
|
void |
doWaitSingle2()
doWaitSingle2.
|
boolean |
dropped()
dropped.
|
edu.rice.hj.runtime.phasers.PhaserSigWaitState |
getPhaseState(int phase)
getPhaseState.
|
boolean |
quiescent()
quiescent.
|
void |
register(HabaneroActivity activity,
HjPhaserMode mode)
register.
|
boolean |
registered()
An activity may call this method to determine whether it is registered with this phaser or not.
|
doNext, doWait, drop, drop, getPhaserMode, getSigPhase, getWaitPhase, inMode, signal
int busyWaitLimit()
edu.rice.hj.runtime.phasers.PhaserSigWaitState getPhaseState(int phase)
getPhaseState.
phase
- a int.PhaserSigWaitState
object.void register(HabaneroActivity activity, HjPhaserMode mode)
register.
activity
- a HabaneroActivity
object.mode
- a HjPhaserMode
object.boolean registered()
boolean dropped()
dropped.
boolean quiescent()
quiescent.
boolean doWaitSingle1() throws SuspendableException
doWaitSingle1.
SuspendableException
boolean doWaitSingle1(String loc) throws SuspendableException
doWaitSingle1.
loc
- The location of the next-with-single callSuspendableException
void doWaitSingle2() throws SuspendableException
doWaitSingle2.
SuspendableException
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.