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
Merge branch 'coverity_scan' of github.com:mquinson/simgrid
[simgrid.git]
/
src
/
mc
/
mc_request.cpp
diff --git
a/src/mc/mc_request.cpp
b/src/mc/mc_request.cpp
index
56e960e
..
c77bc95
100644
(file)
--- a/
src/mc/mc_request.cpp
+++ b/
src/mc/mc_request.cpp
@@
-6,11
+6,11
@@
#include <assert.h>
#include <assert.h>
-#include "mc_request.h"
-#include "mc_safety.h"
-#include "mc_private.h"
-#include "mc_smx.h"
-#include "mc_xbt.hpp"
+#include "
src/mc/
mc_request.h"
+#include "
src/mc/
mc_safety.h"
+#include "
src/mc/
mc_private.h"
+#include "
src/mc/
mc_smx.h"
+#include "
src/mc/
mc_xbt.hpp"
using simgrid::mc::remote;
using simgrid::mc::remote;
@@
-158,7
+158,7
@@
int MC_request_depend(smx_simcall_t r1, smx_simcall_t r2)
return simcall_comm_irecv__get__rdv(r1) == simcall_comm_irecv__get__rdv(r2);
case SIMCALL_COMM_WAIT:
if (synchro1->comm.src_buff == synchro2->comm.src_buff
return simcall_comm_irecv__get__rdv(r1) == simcall_comm_irecv__get__rdv(r2);
case SIMCALL_COMM_WAIT:
if (synchro1->comm.src_buff == synchro2->comm.src_buff
- && synchro
2
->comm.dst_buff == synchro2->comm.dst_buff)
+ && synchro
1
->comm.dst_buff == synchro2->comm.dst_buff)
return FALSE;
else if (synchro1->comm.src_buff != NULL
&& synchro1->comm.dst_buff != NULL
return FALSE;
else if (synchro1->comm.src_buff != NULL
&& synchro1->comm.dst_buff != NULL