projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e647413
)
remote the annoying required master arguement...
author
bdemsky
<bdemsky>
Sat, 15 Sep 2007 08:13:49 +0000
(08:13 +0000)
committer
bdemsky
<bdemsky>
Sat, 15 Sep 2007 08:13:49 +0000
(08:13 +0000)
Robust/src/Runtime/DSTM/interface/trans.c
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/DSTM/interface/trans.c
b/Robust/src/Runtime/DSTM/interface/trans.c
index 2110c03770f720a6c6d4cdd80a29b4532796c564..f85e8fbcd365e4598ccff8806b38114b6c7694bd 100644
(file)
--- a/
Robust/src/Runtime/DSTM/interface/trans.c
+++ b/
Robust/src/Runtime/DSTM/interface/trans.c
@@
-95,7
+95,7
@@
void prefetch(int ntuples, unsigned int *oids, unsigned short *endoffsets, short
int dstmStartup(const char * option) {
pthread_t thread_Listen;
pthread_attr_t attr;
- int master=strcmp(option, "master")==0;
+ int master=
option!=NULL &&
strcmp(option, "master")==0;
if (processConfigFile() != 0)
return 0; //TODO: return error value, cause main program to exit