Initialization and read onlies at begining
authorNikhil Jain <nikhil@illinois.edu>
Fri, 13 Jan 2012 04:37:06 +0000 (22:37 -0600)
committerNikhil Jain <nikhil@illinois.edu>
Fri, 13 Jan 2012 04:37:06 +0000 (22:37 -0600)
src/arch/util/machine-common-core.c

index 93340e260a308ab5c9348ca561b2914ff8754fa2..3927307eb55ceeefbd7267e400ed4a8857bd7217 100644 (file)
@@ -367,7 +367,7 @@ void CmiPushPE(int rank,void *msg) {
     }
 #endif
 
-    PCQueuePush(cs->recv,msg);
+    PCQueuePush(cs->recv,(char*)msg);
 
 #if CMK_SHARED_VARS_POSIX_THREADS_SMP
   if (_Cmi_noprocforcommthread)
@@ -734,6 +734,7 @@ static void ConverseRunPE(int everReturn) {
     /* communication thread */
 #if CMK_INTER_OPERATE
                Cmi_startfn(CmiGetArgc(CmiMyArgv), CmiMyArgv);
+    CsdScheduler(-1);
 #else
     if (CmiMyRank() == CmiMyNodeSize()) {
         Cmi_startfn(CmiGetArgc(CmiMyArgv), CmiMyArgv);