Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

demo.tucson.philo
Class MainResource  view MainResource download MainResource.java

java.lang.Object
  extended bydemo.tucson.philo.MainResource
All Implemented Interfaces:
java.lang.Runnable

class MainResource
extends java.lang.Object
implements java.lang.Runnable

install proper reactions to avoid deadlock and make chops resources avaiable to philosophers


Field Summary
(package private)  alice.tucson.TupleCentreId tid
           
 
Constructor Summary
(package private) MainResource(alice.tucson.TupleCentreId tid_)
           
 
Method Summary
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tid

alice.tucson.TupleCentreId tid
Constructor Detail

MainResource

MainResource(alice.tucson.TupleCentreId tid_)
Method Detail

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.

Specified by:
run in interface java.lang.Runnable