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
Add an assert in case a platform using cluster routing does not link nodes to links...
[simgrid.git]
/
src
/
simix
/
smx_host_private.h
diff --git
a/src/simix/smx_host_private.h
b/src/simix/smx_host_private.h
index
eb8b7e6
..
bac4f9f
100644
(file)
--- a/
src/simix/smx_host_private.h
+++ b/
src/simix/smx_host_private.h
@@
-7,6
+7,8
@@
#ifndef _SIMIX_HOST_PRIVATE_H
#define _SIMIX_HOST_PRIVATE_H
#ifndef _SIMIX_HOST_PRIVATE_H
#define _SIMIX_HOST_PRIVATE_H
+#include <functional>
+
#include <xbt/base.h>
#include "simgrid/simix.h"
#include <xbt/base.h>
#include "simgrid/simix.h"
@@
-29,11
+31,10
@@
XBT_PRIVATE void SIMIX_host_destroy(void *host);
XBT_PRIVATE void SIMIX_host_add_auto_restart_process(sg_host_t host,
const char *name,
XBT_PRIVATE void SIMIX_host_add_auto_restart_process(sg_host_t host,
const char *name,
-
xbt_main_func_t
code,
+
std::function<void()>
code,
void *data,
const char *hostname,
double kill_time,
void *data,
const char *hostname,
double kill_time,
- int argc, char **argv,
xbt_dict_t properties,
int auto_restart);
xbt_dict_t properties,
int auto_restart);