2 * Ported by: Jin Zhou 07/15/10
4 * This is ported from the NoBench, originally written in Haskell
7 task t1(StartupObject s{initialstate}) {
8 //System.printString("task t1\n");
10 int threadnum = 56; //62;
11 for(int i = 0; i < threadnum; ++i) {
12 TestRunner tr = new TestRunner(){run};
15 taskexit(s{!initialstate});
18 task t2(TestRunner tr{run}) {
19 //System.printString("task t2\n");