Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'mc' into mc++
[simgrid.git] / examples / msg / chainsend / common.h
1 /* Copyright (c) 2012-2014. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #ifndef KADEPLOY_COMMON_H
8 #define KADEPLOY_COMMON_H
9
10 #include "msg/msg.h"
11 #include "xbt/sysdep.h"
12
13 static XBT_INLINE void queue_pending_connection(msg_comm_t comm, xbt_dynar_t q)
14 {
15   xbt_dynar_push(q, &comm);
16 }
17
18 int process_pending_connections(xbt_dynar_t q);
19
20 #endif /* KADEPLOY_COMMON_H */