util
Class Semaphore

java.lang.Object
  |
  +--util.Semaphore

public class Semaphore
extends Object


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

Semaphore

public Semaphore(Thread owner)

Semaphore

public Semaphore()
Method Detail

give

public void give()

take

public void take()

sync

public void sync()
THIS IS NOT TAKING, Just waiting for ownerhit to hit 0.