From: jihoonl Date: Thu, 24 Sep 2009 18:39:36 +0000 (+0000) Subject: debug message clear X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2aad4b8a92373f922602404d2f9ba84d9454db5e;p=IRC.git debug message clear --- diff --git a/Robust/src/Runtime/DSTM/interface_recovery/trans.c b/Robust/src/Runtime/DSTM/interface_recovery/trans.c index a5281972..d91bba49 100644 --- a/Robust/src/Runtime/DSTM/interface_recovery/trans.c +++ b/Robust/src/Runtime/DSTM/interface_recovery/trans.c @@ -2891,7 +2891,9 @@ int reqNotify(unsigned int *oidarry, unsigned short *versionarry, unsigned int n #ifdef RECOVERY waitThreadMid = waitmid; waitThreadID = threadid; +#ifdef DEBUG printf("%s -> This Thread is waiting for %s\n",__func__,midtoIPString(waitmid)); +#endif #endif size = 1 + numoid * (sizeof(unsigned int) + sizeof(unsigned short)) + 3 * sizeof(unsigned int); @@ -3351,7 +3353,9 @@ void clearDeadThreadsNotification() // clear all the threadnotify request first if(waitThreadID != -1) { +#ifdef DEBUG printf("%s -> I was waitng for %s\n",__func__,midtoIPString(waitThreadMid)); +#endif int waitThreadIndex = findHost(waitThreadMid); int i; notifydata_t *ndata;