Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename SG_java -> simgrid-java.
[simgrid.git] / examples / msg / chainsend / common.h
index f0d9997..e28e098 100644 (file)
@@ -4,7 +4,11 @@
 #include "msg/msg.h"
 #include "xbt/sysdep.h"
 
-#define MESSAGE_SIZE 1
-#define HOSTNAME_LENGTH 20
+static XBT_INLINE void queue_pending_connection(msg_comm_t comm, xbt_dynar_t q)
+{
+  xbt_dynar_push(q, &comm);
+}
+
+int process_pending_connections(xbt_dynar_t q);
 
 #endif /* KADEPLOY_COMMON_H */