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
Update copyright notices
[simgrid.git]
/
examples
/
msg
/
masterslave
/
masterslave_mailbox.c
diff --git
a/examples/msg/masterslave/masterslave_mailbox.c
b/examples/msg/masterslave/masterslave_mailbox.c
index
73dd03c
..
16d2efc
100644
(file)
--- a/
examples/msg/masterslave/masterslave_mailbox.c
+++ b/
examples/msg/masterslave/masterslave_mailbox.c
@@
-1,11
+1,11
@@
-/* Copyright (c) 2010. The SimGrid Team.
+/* Copyright (c) 2010
-2015
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include <stdio.h>
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include <stdio.h>
-#include "
msg/msg.h" /* Yeah! If you want to use msg, you need to include msg
/msg.h */
+#include "
simgrid/msg.h" /* Yeah! If you want to use msg, you need to include simgrid
/msg.h */
#include "xbt/sysdep.h" /* calloc, printf */
/* Create a log channel to have nice outputs. */
#include "xbt/sysdep.h" /* calloc, printf */
/* Create a log channel to have nice outputs. */
@@
-16,9
+16,6
@@
XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test,
int master(int argc, char *argv[]);
int slave(int argc, char *argv[]);
int master(int argc, char *argv[]);
int slave(int argc, char *argv[]);
-int forwarder(int argc, char *argv[]);
-msg_error_t test_all(const char *platform_file,
- const char *application_file);
/** Emitter function */
int master(int argc, char *argv[])
/** Emitter function */
int master(int argc, char *argv[])
@@
-113,7
+110,6
@@
int main(int argc, char *argv[])
platform_file = argv[1];
application_file = argv[2];
platform_file = argv[1];
application_file = argv[2];
- /* MSG_config("workstation/model","KCCFLN05"); */
{ /* Simulation setting */
MSG_create_environment(platform_file);
}
{ /* Simulation setting */
MSG_create_environment(platform_file);
}