FileDocCategorySizeDatePackage
ProducerConsumerTest.javaAPI DocExample253Tue Dec 12 18:57:48 GMT 2000None

ProducerConsumerTest

public class ProducerConsumerTest extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

        CubbyHole c = new CubbyHole();
        Producer p1 = new Producer(c, 1);
        Consumer c1 = new Consumer(c, 1);

        p1.start();
        c1.start();