API change to AdvanceCommunication
authorGengbin Zheng <gzheng@illinois.edu>
Sun, 1 Jan 2012 04:10:48 +0000 (22:10 -0600)
committerGengbin Zheng <gzheng@illinois.edu>
Sun, 1 Jan 2012 04:10:48 +0000 (22:10 -0600)
src/arch/lapi/machine.c

index 9c09d434475a2136637da1a70757ab5ec50c2806..4a72f5e7a76cbb98ca959092b6dd5efdbeef56f2 100755 (executable)
@@ -336,7 +336,7 @@ static void MachinePostCommonInitForLAPI(int everReturn);
 /* ### End of Machine-startup Related Functions ### */
 
 /* ### Beginning of Machine-running Related Functions ### */
-static void AdvanceCommunicationForLAPI();
+static void AdvanceCommunicationForLAPI(int idle);
 #define LrtsAdvanceCommunication AdvanceCommunicationForLAPI
 
 static void DrainResourcesForLAPI(); /* used when exit */
@@ -781,7 +781,7 @@ static int checkMsgInOrder(char *msg, MsgOrderInfo *info) {
 
 /* ######Beginning of functions related with communication progress ###### */
 
-static INLINE_KEYWORD void AdvanceCommunicationForLAPI() {
+static INLINE_KEYWORD void AdvanceCommunicationForLAPI(int idle) {
     /* What about CMK_SMP_NO_COMMTHD in the original implementation?? */
     /* It does nothing but sleep */
     if (!CsvAccess(lapiInterruptMode)) check_lapi(LAPI_Probe,(lapiContext));