/**
* Command line: optional number of threads to create (defaults to 2)
*/
public static void main (String args [])
{
ThreadManager tm = new ThreadManager ();
int n = 2;
ACE.enableDebugging ();
try
{
if (args.length == 1)
{
n = Integer.parseInt (args[0]);
}
}
catch (NumberFormatException e)
{
ACE.ERROR ("Illegal argument.");
}
tm.spawnN (n,
new TokenTest (),
false);
}