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] Add/fix some comments in memory_map.cpp
[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
..
22a4908
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)
{
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 *****/
}
/***** condition related functions *****/
@@
-70,7
+70,7
@@
void xbt_cond_broadcast(xbt_cond_t cond)
void xbt_cond_destroy(xbt_cond_t cond)
{
void xbt_cond_destroy(xbt_cond_t cond)
{
- SIMIX_cond_
destroy
((smx_cond_t) cond);
+ SIMIX_cond_
unref
((smx_cond_t) cond);
}
/***** barrier related functions *****/
}
/***** barrier related functions *****/