All Packages  This Package  Class Hierarchy  Class Search  Index

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

  Summary

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

          // Constructors 1
     public Semaphore();

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

A simple synchronization primitive.

Author:
Janos Ministry of Development




  Fields

· n

Summary  |  Top

   private 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