org.globus.ogsa.server
Class Semaphore

java.lang.Object
  extended byorg.globus.ogsa.server.Semaphore

public class Semaphore
extends java.lang.Object

This class implements a simple semaphore for thread synchronization


Constructor Summary
Semaphore()
           
 
Method Summary
 void sendSignal()
           
 void waitForSignal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Semaphore

public Semaphore()
Method Detail

waitForSignal

public void waitForSignal()
                   throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

sendSignal

public void sendSignal()


Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.