*/\r
FileSystem[] lus;\r
FileSystem initLus;\r
-\r
- Work[] works;\r
- Transaction[] currentWorkList; // type might be something else\r
\r
atomic {\r
- currentWorkList = global new Transaction[NUM_THREADS]; // something else\r
- works = global new Work[NUM_THREADS];\r
- \r
DistributedHashMap fs = global new DistributedHashMap(500, 500, 0.75f);\r
DistributedHashMap dir = global new DistributedHashMap(500, 500, 0.75f);\r
DistributedLinkedList dir_list = global new DistributedLinkedList();\r
\r
lus = global new FileSystem[NUM_THREADS];\r
for(int i = 0; i < NUM_THREADS; i++) {\r
-// lus[i] = initLus;\r
-// lus[i].setInputFileName(filename, i);\r
lus[i] = global new FileSystem(initLus.dir, initLus.fs, initLus.dir_list, filename, i);\r
}\r
}\r
SRC1=${MAINCLASS}.java
SRC2=Global${SUBCLASS}.java
SRC3=${SUBCLASS}Task.java
-FLAGS= -recoverystats -recovery -dsm -dsmtask -32bit -nooptimize -debug -mainclass ${MAINCLASS}
+FLAGS= -recoverystats -recovery -dsm -dsmtask -nooptimize -mainclass ${MAINCLASS}
default:
../../../../buildscript ${FLAGS} -o ${MAINCLASS} ${SRC2} ${SRC3} ${SRC1}