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
added return value for MSG_sem_get_capacity
[simgrid.git]
/
src
/
msg
/
msg_synchro.cpp
diff --git
a/src/msg/msg_synchro.cpp
b/src/msg/msg_synchro.cpp
index
ff5d328
..
fa46da9
100644
(file)
--- a/
src/msg/msg_synchro.cpp
+++ b/
src/msg/msg_synchro.cpp
@@
-46,8
+46,8
@@
void MSG_sem_release(msg_sem_t sem) {
simcall_sem_release(sem);
}
-
void
MSG_sem_get_capacity(msg_sem_t sem) {
- simcall_sem_get_capacity(sem);
+
int
MSG_sem_get_capacity(msg_sem_t sem) {
+
return
simcall_sem_get_capacity(sem);
}
void MSG_sem_destroy(msg_sem_t sem) {