Adding a warning in handleMessage.
authorSameer Kumar <skumar2@uiuc.edu>
Tue, 22 Mar 2005 19:20:25 +0000 (19:20 +0000)
committerSameer Kumar <skumar2@uiuc.edu>
Tue, 22 Mar 2005 19:20:25 +0000 (19:20 +0000)
src/ck-com/ComlibStrategy.h

index 1d1262139c9b5f8373aee64b1cffc7480a56035d..8aea3dc18b2fd089223fa7daa6c3454f13a15f0f 100644 (file)
@@ -244,7 +244,10 @@ class CharmStrategy : public Strategy {
     virtual void finalizeProcessing(){}
 
     //Called when a message is received in the strategy handler
-    virtual void handleMessage(void *msg) {}
+    virtual void handleMessage(void *msg) {
+        CkPrintf("Warning: In CharmStrategy::handleMessage\n");
+        CkPrintf("Did you corrupt the message ????\n");
+    }
     
     ComlibLearner *getLearner() {return learner;}
     void setLearner(ComlibLearner *l) {learner = l;}