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
Fix process_killall. Closes #186.
[simgrid.git]
/
src
/
s4u
/
s4u_mutex.cpp
diff --git
a/src/s4u/s4u_mutex.cpp
b/src/s4u/s4u_mutex.cpp
index
9e0e5d5
..
5e63f24
100644
(file)
--- a/
src/s4u/s4u_mutex.cpp
+++ b/
src/s4u/s4u_mutex.cpp
@@
-24,8
+24,7
@@
void Mutex::lock()
*/
void Mutex::unlock()
{
*/
void Mutex::unlock()
{
- smx_actor_t self = SIMIX_process_self();
- simgrid::simix::kernelImmediate([this, self] { return mutex_->unlock(self); });
+ simcall_mutex_unlock(mutex_);
}
/** @brief Acquire the mutex if it's free, and return false (without blocking) if not */
}
/** @brief Acquire the mutex if it's free, and return false (without blocking) if not */