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
create a singleton for s4u::Engine
[simgrid.git]
/
src
/
simix
/
UContext.cpp
diff --git
a/src/simix/UContext.cpp
b/src/simix/UContext.cpp
index
45b50be
..
1669ed8
100644
(file)
--- a/
src/simix/UContext.cpp
+++ b/
src/simix/UContext.cpp
@@
-233,7
+233,7
@@
UContext::UContext(std::function<void()> code,
}
#ifdef HAVE_MC
- if (MC_is_active() &&
code
) {
+ if (MC_is_active() &&
has_code()
) {
MC_register_stack_area(this->stack_, process,
&(this->uc_), smx_context_usable_stack_size);
}