X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7b4f6bf5c5002eb43b2b4093e983cb18f5979e96..7d961518f975f0bf546ef326331f5df5f8807417:/examples/msg/chainsend/common.h diff --git a/examples/msg/chainsend/common.h b/examples/msg/chainsend/common.h index f0d9997bd6..012bde7284 100644 --- a/examples/msg/chainsend/common.h +++ b/examples/msg/chainsend/common.h @@ -4,6 +4,11 @@ #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); +} + #define MESSAGE_SIZE 1 #define HOSTNAME_LENGTH 20