Merge branch 'charm' into virtualDebug
[charm.git] / src / ck-core / middle-blue.h
index 78bde06d2bae97e44d43d37f76e97bf28e073e52..120626d2cb192dbc7074cf984faee64a398ce1ba 100644 (file)
@@ -180,7 +180,8 @@ void CkReduce(void *msg, int size, CmiReduceMergeFn mergeFn);
 #define CmiMultipleSend                        BgMultipleSend
 
 #undef CsdEnqueueLifo
-#define CsdEnqueueLifo(m)  CmiSyncSendAndFree(CmiMyPe(),sizeof(m), (char*)(m));
+//#define CsdEnqueueLifo(m)  CmiSyncSendAndFree(CkMyPe(),((envelope*)m)->getTotalsize(), (char*)(m));
+#define CsdEnqueueLifo(m)              BgEnqueue((char*)m)
 
 #undef CmiNodeAllBarrier
 #define CmiNodeAllBarrier()