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
Seal objects at Engine::run
[simgrid.git]
/
src
/
surf
/
HostImpl.cpp
diff --git
a/src/surf/HostImpl.cpp
b/src/surf/HostImpl.cpp
index
adfa033
..
fcb6b4d
100644
(file)
--- a/
src/surf/HostImpl.cpp
+++ b/
src/surf/HostImpl.cpp
@@
-161,6
+161,10
@@
void HostImpl::seal()
// seals host's CPU
get_iface()->pimpl_cpu->seal();
sealed_ = true;
+
+ /* seal its disks */
+ for (auto* disk : disks_)
+ disk->seal();
}
} // namespace surf
} // namespace simgrid