|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--util.Semaphore
Constructor Summary | |
Semaphore()
|
|
Semaphore(Thread owner)
|
Method Summary | |
void |
give()
|
void |
sync()
THIS IS NOT TAKING, Just waiting for ownerhit to hit 0. |
void |
take()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Semaphore(Thread owner)
public Semaphore()
Method Detail |
public void give()
public void take()
public void sync()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |