Corrected the definitions of spanning tree function to implement in machine.c
authorFilippo Gioachin <gioachin@illinois.edu>
Fri, 25 Mar 2005 09:00:48 +0000 (09:00 +0000)
committerFilippo Gioachin <gioachin@illinois.edu>
Fri, 25 Mar 2005 09:00:48 +0000 (09:00 +0000)
Added two functions for asynchronous sends that have to be implemented in
machine.c These two functions were not declared anywhere exept in the machine
implementations.

src/arch/template/machine.c
src/conv-core/converse.h

index 395cce1bb5fcb046818f54634833255508faf3ba..215ce46ab5625afc9222ae3443a2cdbcc9aa0831 100644 (file)
@@ -43,6 +43,9 @@ void          CmiSyncBroadcastAllFn(int, char *);
 CmiCommHandle CmiAsyncBroadcastAllFn(int, char *);
 void          CmiFreeBroadcastAllFn(int, char *);
 
+int           CmiAsyncMsgSent(CmiCommHandle handle);
+void          CmiReleaseCommHandle(CmiCommHandle handle);
+
 void         CmiMultipleSend(unsigned int, int, int *, char **);
 void         CmiMultipleIsend(unsigned int, int, int *, char **);
 
@@ -313,11 +316,11 @@ int  CmiScanf(const char *, ...);
 
 #if ! CMK_SPANTREE_USE_COMMON_CODE
 
-int      CmiSpanTreeNumChildren(int) ;
+int      CmiNumSpanTreeChildren(int) ;
 int      CmiSpanTreeParent(int) ;
 void     CmiSpanTreeChildren(int node, int *children);
 
-int      CmiNodeSpanTreeNumChildren(int);
+int      CmiNumNodeSpanTreeChildren(int);
 int      CmiNodeSpanTreeParent(int) ;
 void     CmiNodeSpanTreeChildren(int node, int *children) ;
 
index 9f39e1206bf128daece32c5ba6c0f2191bd03c48..12698b9ef150e940f841f0c95967227df913648b 100644 (file)
@@ -721,10 +721,10 @@ extern void CsdSchedulePoll(void);
 
 #else
 
-int      CmiSpanTreeNumChildren(int) ;
+int      CmiNumSpanTreeChildren(int) ;
 int      CmiSpanTreeParent(int) ;
 void     CmiSpanTreeChildren(int node, int *children);
-int      CmiNodeSpanTreeNumChildren(int);
+int      CmiNumNodeSpanTreeChildren(int);
 int      CmiNodeSpanTreeParent(int) ;
 void     CmiNodeSpanTreeChildren(int node, int *children) ;
 #endif
@@ -765,6 +765,9 @@ void          CmiSyncVectorSendAndFree(int, int, int *, char **);
 void         CmiMultipleSend(unsigned int, int, int *, char **);
 void         CmiMultipleIsend(unsigned int, int, int *, char **);
 
+int           CmiAsyncMsgSent(CmiCommHandle);
+void          CmiReleaseCommHandle(CmiCommHandle);
+
 #define CmiSyncSend(p,s,m)              (CmiSyncSendFn((p),(s),(char *)(m)))
 #define CmiAsyncSend(p,s,m)             (CmiAsyncSendFn((p),(s),(char *)(m)))
 #define CmiSyncSendAndFree(p,s,m)       (CmiFreeSendFn((p),(s),(char *)(m)))