]> AND Public Git Repository - simgrid.git/blobdiff - examples/msg/chainsend/common.h
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add a test of the creation of a parallel task graph from a dot file
[simgrid.git] / examples / msg / chainsend / common.h
index f0d9997bd67abeec43070336057e9660cc978f8d..eaf2de159b239bf6312ce50cfe6c233c81eca3b5 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