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
New function: xbt_dict_cursor_set_data()
[simgrid.git]
/
src
/
smpi
/
smpi_base.c
diff --git
a/src/smpi/smpi_base.c
b/src/smpi/smpi_base.c
index a60f2098d2c667aeaeb5f5416a21a1ffc4114245..aeed260a9160abde9dc303e2c16519de62dad9ee 100644
(file)
--- a/
src/smpi/smpi_base.c
+++ b/
src/smpi/smpi_base.c
@@
-1,3
+1,9
@@
+/* Copyright (c) 2007, 2008, 2009, 2010. 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.h"
#include "xbt/time.h"
#include "private.h"
#include "xbt/time.h"
@@
-187,6
+193,9
@@
static void finish_wait(MPI_Request* request, MPI_Status* status) {
}
if(((*request)->flags & NON_PERSISTENT) == NON_PERSISTENT) {
smpi_mpi_request_free(request);
}
if(((*request)->flags & NON_PERSISTENT) == NON_PERSISTENT) {
smpi_mpi_request_free(request);
+ } else {
+ (*request)->rdv = NULL;
+ (*request)->pair = NULL;
}
}
}
}