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
Sanity check that mutex are empty when destroyed
[simgrid.git]
/
src
/
s4u
/
s4u_Mutex.cpp
diff --git
a/src/s4u/s4u_Mutex.cpp
b/src/s4u/s4u_Mutex.cpp
index
e2cc10d
..
72c2481
100644
(file)
--- a/
src/s4u/s4u_Mutex.cpp
+++ b/
src/s4u/s4u_Mutex.cpp
@@
-58,7
+58,7
@@
bool Mutex::try_lock()
MutexPtr Mutex::create(bool recursive)
{
auto* mutex = new kernel::activity::MutexImpl(recursive);
- return MutexPtr(&mutex->
mutex
(), false);
+ return MutexPtr(&mutex->
get_iface
(), false);
}
Actor* Mutex::get_owner()