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
This seems to be useless since ... a long time, now (and it breaks on macos)
[simgrid.git]
/
src
/
simix
/
popping.cpp
diff --git
a/src/simix/popping.cpp
b/src/simix/popping.cpp
index
eef1ea8
..
15ad87d
100644
(file)
--- a/
src/simix/popping.cpp
+++ b/
src/simix/popping.cpp
@@
-7,7
+7,7
@@
#include "smx_private.h"
#include "xbt/fifo.h"
#include "xbt/xbt_os_thread.h"
#include "smx_private.h"
#include "xbt/fifo.h"
#include "xbt/xbt_os_thread.h"
-#if
def
HAVE_MC
+#if HAVE_MC
#include "src/mc/mc_private.h"
#endif
#include "src/mc/mc_private.h"
#endif
@@
-59,3
+59,9
@@
void SIMIX_simcall_exit(smx_synchro_t synchro)
break;
}
}
break;
}
}
+
+void SIMIX_run_kernel(void* code)
+{
+ std::function<void()>* function = (std::function<void()>*) code;
+ (*function)();
+}