All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.core.Semaphore
java.lang.Object
   |
   +----edu.utah.janos.core.Semaphore

  Summary

public class  Semaphore
     extends java.lang.Object
{
          // Fields 1
     int n;

          // Constructors 1
     public Semaphore();

          // Methods 2
     public synchronized void block();
     public synchronized void signal();
}

A simple synchronization primitive. %AUTHOR_CKH%




  Fields

· n

Summary  |  Top

   int n


  Constructors

· Semaphore

Summary  |  Top

   public Semaphore() 

Default constructor



  Methods

· signal

Summary  |  Top
   public synchronized void signal() 


· block

Summary  |  Top
   public synchronized void block() 


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7