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
[xbt] Documentation and cleanup
[simgrid.git]
/
src
/
mc
/
mc_base.cpp
diff --git
a/src/mc/mc_base.cpp
b/src/mc/mc_base.cpp
index
708f3c5
..
7c350f7
100644
(file)
--- a/
src/mc/mc_base.cpp
+++ b/
src/mc/mc_base.cpp
@@
-6,8
+6,6
@@
#include <cassert>
#include <cassert>
-#include <algorithm>
-
#include <simgrid_config.h>
#include <xbt/log.h>
#include <simgrid_config.h>
#include <xbt/log.h>
@@
-164,10
+162,10
@@
bool request_is_enabled(smx_simcall_t req)
case SIMCALL_MUTEX_LOCK: {
smx_mutex_t mutex = simcall_mutex_lock__get__mutex(req);
#if HAVE_MC
case SIMCALL_MUTEX_LOCK: {
smx_mutex_t mutex = simcall_mutex_lock__get__mutex(req);
#if HAVE_MC
- s
_smx_mutex_t
temp_mutex;
+ s
imgrid::mc::Remote<simgrid::simix::Mutex>
temp_mutex;
if (mc_model_checker != nullptr) {
if (mc_model_checker != nullptr) {
- mc_model_checker->process().read(
&temp_mutex
, remote(mutex));
- mutex =
&temp_mutex
;
+ mc_model_checker->process().read(
temp_mutex.getBuffer()
, remote(mutex));
+ mutex =
temp_mutex.getBuffer()
;
}
#endif
}
#endif