Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add missing prototypes.
[simgrid.git] / examples / msg / chainsend / common.h
index f0d9997..eaf2de1 100644 (file)
@@ -4,6 +4,13 @@
 #include "msg/msg.h"
 #include "xbt/sysdep.h"
 
+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);
+
 #define MESSAGE_SIZE 1
 #define HOSTNAME_LENGTH 20