fix annoying race condition on startup
[IRC.git] / Robust / src / Runtime / DSTM / interface / dstm.h
index 6311e213f27c6353ba221ed4a9721778ac275d9b..98f60f8637af078419b9474d1dc4224017ce4d4b 100644 (file)
@@ -235,7 +235,8 @@ void clearObjStore(); // TODO:currently only clears the prefetch cache object st
 /* end object store */
 
 /* Prototypes for server portion */
-void *dstmListen();
+void *dstmListen(void *);
+int startlistening();
 void *dstmAccept(void *);
 int readClientReq(trans_commit_data_t *, int);
 int processClientReq(fixed_data_t *, trans_commit_data_t *,unsigned int *, char *, void *, unsigned int *, int);