I discovered a bug in threaded/sync entry methods, where if the chare that the sync...
authorJonathan Lifflander <jliffl2@illinois.edu>
Mon, 25 Jan 2010 18:19:51 +0000 (12:19 -0600)
committerJonathan Lifflander <jliffl2@illinois.edu>
Mon, 25 Jan 2010 18:19:51 +0000 (12:19 -0600)
src/ck-core/ck.h

index b3db8c3706cc0a438adfd896a74fa795d5330a98..0fdb3cc197cf1e9bcbfd3109eafd67cd1e41de17 100644 (file)
@@ -32,7 +32,8 @@ class VidBlock {
     PtrQ *msgQ;
     CkChareID actualID;
     void msgDeliver(envelope *env) {
-        env->setSrcPe(CkMyPe());
+        // This was causing sync entry methods not to return properly in some cases
+        //env->setSrcPe(CkMyPe());
         env->setMsgtype(ForChareMsg);
         env->setObjPtr(actualID.objPtr);
         CldEnqueue(actualID.onPE, env, _infoIdx);