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
[simix] Refcounting with SIMIX_{process,mutex}_{ref,unref}()
[simgrid.git]
/
src
/
xbt
/
xbt_os_synchro.c
diff --git
a/src/xbt/xbt_os_synchro.c
b/src/xbt/xbt_os_synchro.c
index
52b1762
..
6c982bc
100644
(file)
--- a/
src/xbt/xbt_os_synchro.c
+++ b/
src/xbt/xbt_os_synchro.c
@@
-39,7
+39,7
@@
void xbt_mutex_release(xbt_mutex_t mutex)
void xbt_mutex_destroy(xbt_mutex_t mutex)
{
- SIMIX_mutex_
destroy
((smx_mutex_t) mutex);
+ SIMIX_mutex_
unref
((smx_mutex_t) mutex);
}
/***** condition related functions *****/