Class nbody.Semaphore
Ivars
boolean bottom
Body child2
Body child1
SimEngine se
boolean top
Semaphore parent
Semaphore sem2
int semCount
Semaphore sem1
Methods
void assignParent(Semaphore par)
void assignChildren(Semaphore s1, Semaphore s2)
Semaphore constructor(boolean isTop, SimEngine eng, boolean isBot)
void go()
void assignLeaves(Body c1, Body c2)
void signal()