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
closing a file is a noop. No need to deep down the stack
[simgrid.git]
/
src
/
s4u
/
s4u_file.cpp
diff --git
a/src/s4u/s4u_file.cpp
b/src/s4u/s4u_file.cpp
index
37b4f3a
..
4ebf68f
100644
(file)
--- a/
src/s4u/s4u_file.cpp
+++ b/
src/s4u/s4u_file.cpp
@@
-50,7
+50,7
@@
File::File(const char* fullpath, sg_host_t host, void* userdata) : path_(fullpat
File::~File()
{
- sim
call_file_close(pimpl_, host_
);
+ sim
grid::simix::kernelImmediate([this] { delete pimpl_; }
);
}
sg_size_t File::read(sg_size_t size)