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
MPI Win: add check if we try to delete a locked or opened window.
[simgrid.git]
/
src
/
smpi
/
bindings
/
smpi_pmpi_win.cpp
diff --git
a/src/smpi/bindings/smpi_pmpi_win.cpp
b/src/smpi/bindings/smpi_pmpi_win.cpp
index
26b6532
..
9c7e74d
100644
(file)
--- a/
src/smpi/bindings/smpi_pmpi_win.cpp
+++ b/
src/smpi/bindings/smpi_pmpi_win.cpp
@@
-105,7
+105,7
@@
int PMPI_Win_free( MPI_Win* win){
return MPI_ERR_WIN;
}
const SmpiBenchGuard suspend_bench;
-
delete *win
;
+
return simgrid::smpi::Win::del(*win)
;
return MPI_SUCCESS;
}