osBridge
Class OsBridge
java.lang.Object
|
+--osBridge.OsBridge
- public class OsBridge
- extends java.lang.Object
Constructor Summary |
OsBridge(int bridgeSize,
int yellowQueue,
int yellowExit,
int purpleQueue,
int purpleExit,
BridgeListener list)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OsBridge
public OsBridge(int bridgeSize,
int yellowQueue,
int yellowExit,
int purpleQueue,
int purpleExit,
BridgeListener list)
setPThreadSleep
public void setPThreadSleep(int newVal)
setYThreadSleep
public void setYThreadSleep(int newVal)
setThreadsRunning
public void setThreadsRunning(boolean newVal)
setAllowStarvation
public void setAllowStarvation(boolean newVal)
setUseMutexes
public void setUseMutexes(boolean newVal)
pulseUpdate
public void pulseUpdate()
addPurple
public void addPurple()
addYellow
public void addYellow()
pulsePurple
public void pulsePurple()
pulseYellow
public void pulseYellow()