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
[sonar] Less implicit conversions.
[simgrid.git]
/
src
/
smpi
/
bindings
/
smpi_pmpi_info.cpp
diff --git
a/src/smpi/bindings/smpi_pmpi_info.cpp
b/src/smpi/bindings/smpi_pmpi_info.cpp
index
b8a2144
..
4151612
100644
(file)
--- a/
src/smpi/bindings/smpi_pmpi_info.cpp
+++ b/
src/smpi/bindings/smpi_pmpi_info.cpp
@@
-1,10
+1,11
@@
-/* Copyright (c) 2007-202
0
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2007-202
1
. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "private.hpp"
#include "smpi_info.hpp"
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "private.hpp"
#include "smpi_info.hpp"
+#include "smpi_comm.hpp"
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(smpi_pmpi);
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(smpi_pmpi);
@@
-27,6
+28,7
@@
int PMPI_Info_set( MPI_Info info, const char *key, const char *value){
int PMPI_Info_free( MPI_Info *info){
CHECK_NULL(1, MPI_ERR_ARG, info)
CHECK_INFO(1, *info)
int PMPI_Info_free( MPI_Info *info){
CHECK_NULL(1, MPI_ERR_ARG, info)
CHECK_INFO(1, *info)
+ (*info)->mark_as_deleted();
simgrid::smpi::Info::unref(*info);
*info=MPI_INFO_NULL;
return MPI_SUCCESS;
simgrid::smpi::Info::unref(*info);
*info=MPI_INFO_NULL;
return MPI_SUCCESS;