suncertify.db.util
Class Semaphore

java.lang.Object
  |
  +--suncertify.db.util.Semaphore
Direct Known Subclasses:
LockObject

public class Semaphore
extends java.lang.Object

Standard implmentation of a semaphore - no comments required if you do not understend read concurrent programming basic books


Constructor Summary
Semaphore()
          Creates smaphore
 
Method Summary
 void P()
          makes P() opertaion on semaphore
 void V()
          makes V() operation on semaphore
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Semaphore

public Semaphore()
Creates smaphore

Method Detail

P

public void P()
makes P() opertaion on semaphore


V

public void V()
makes V() operation on semaphore