#!/usr/bin/csh -f # Let the java interpreter know where to look for the thread demo. # The java interpreter looks for class files in the directories listed # in the environment variable CLASSPATH. setenv CLASSPATH ${CLASSPATH}:/project/adaptive/classes/cs544/assignments/threads # Run the ThreadTest Demo. # java ThreadTest # The four command line parameters specify the number of producers acting # on the bounded queue, the number of consumers acting on the bounded queue, # the length of the bounded queue and the number of iterations made by the # producers and consumers. /pkg/java/bin/java ThreadTest $*