change due to API change of AdvanceCommunication()
authorGengbin Zheng <gzheng@illinois.edu>
Sat, 31 Dec 2011 17:44:13 +0000 (17:44 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Sat, 31 Dec 2011 17:44:13 +0000 (17:44 +0000)
src/arch/bluegenep/machine.c

index d17c925c48c8013e99c20a4ca41dcd76f7b41c2c..1a0413ca4e673aaf688e45ae11b119147f54e3b6 100644 (file)
@@ -293,7 +293,7 @@ static void MachinePostCommonInitForDCMF(int everReturn);
 /* ### End of Machine-startup Related Functions ### */
 
 /* ### Beginning of Machine-running Related Functions ### */
-static void AdvanceCommunicationForDCMF();
+static void AdvanceCommunicationForDCMF(int whenidle);
 #define LrtsAdvanceCommunication AdvanceCommunicationForDCMF
 
 static void DrainResourcesForDCMF();
@@ -673,7 +673,7 @@ extern void        bgl_machine_RectBcastInit  (unsigned               commID,
 
 
 /* ######Beginning of functions related with communication progress ###### */
-static INLINE_KEYWORD void AdvanceCommunicationForDCMF() {
+static INLINE_KEYWORD void AdvanceCommunicationForDCMF(int whenidle) {
 #if CMK_SMP
     DCMF_CriticalSection_enter (0);
 #endif
@@ -695,7 +695,7 @@ static void MachinePostNonLocalForDCMF() {
    messages. This flushes receive buffers on some  implementations*/
 #if CMK_MACHINE_PROGRESS_DEFINED
 void CmiMachineProgressImpl() {
-    AdvanceCommunicationForDCMF();
+    AdvanceCommunicationForDCMF(0);
 #if CMK_IMMEDIATE_MSG
     CmiHandleImmediate();
 #endif
@@ -705,7 +705,7 @@ void CmiMachineProgressImpl() {
 /* ######Beginning of functions related with exiting programs###### */
 static void DrainResourcesForDCMF() {
     while (msgQueueLen > 0 || outstanding_recvs > 0) {
-        AdvanceCommunicationForDCMF();
+        AdvanceCommunicationForDCMF(0);
     }
 }