A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
An inline function must be visible from header file.
[simgrid.git]
/
examples
/
msg
/
chainsend
/
common.h
diff --git
a/examples/msg/chainsend/common.h
b/examples/msg/chainsend/common.h
index
f0d9997
..
012bde7
100644
(file)
--- 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