some bug fixes
[IRC.git] / Robust / src / Benchmarks / Scheduling / GC / Fibheaps / FibHeapsBench.java
1 /** Bamboo Version  
2  * Ported by: Jin Zhou  07/15/10
3  * 
4  * This is ported from the NoBench, originally written in Haskell
5  * **/
6
7 task t1(StartupObject s{initialstate}) {
8   //System.printString("task t1\n");
9
10   int threadnum = 56; //62;
11   for(int i = 0; i < threadnum; ++i) {
12     TestRunner tr = new TestRunner(){run};
13   }
14
15   taskexit(s{!initialstate});
16 }
17
18 task t2(TestRunner tr{run}) {
19   //System.printString("task t2\n");
20   tr.run();
21   taskexit(tr{!run});
22 }