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
Constify some sg_vm_t.
[simgrid.git]
/
src
/
msg
/
msg_legacy.cpp
diff --git
a/src/msg/msg_legacy.cpp
b/src/msg/msg_legacy.cpp
index
4d0d80a
..
eb5ce0c
100644
(file)
--- a/
src/msg/msg_legacy.cpp
+++ b/
src/msg/msg_legacy.cpp
@@
-117,7
+117,7
@@
void MSG_process_migrate(sg_actor_t actor, sg_host_t host)
{
sg_actor_set_host(actor, host);
}
-void MSG_process_join(sg_actor_t actor, double timeout)
+void MSG_process_join(
const_
sg_actor_t actor, double timeout)
{
sg_actor_join(actor, timeout);
}
@@
-415,15
+415,15
@@
sg_vm_t MSG_vm_create_multicore(sg_host_t pm, const char* name, int coreAmount)
{
return sg_vm_create_multicore(pm, name, coreAmount);
}
-int MSG_vm_is_created(sg_vm_t vm)
+int MSG_vm_is_created(
const_
sg_vm_t vm)
{
return sg_vm_is_created(vm);
}
-int MSG_vm_is_running(sg_vm_t vm)
+int MSG_vm_is_running(
const_
sg_vm_t vm)
{
return sg_vm_is_running(vm);
}
-int MSG_vm_is_suspended(sg_vm_t vm)
+int MSG_vm_is_suspended(
const_
sg_vm_t vm)
{
return sg_vm_is_suspended(vm);
}
@@
-499,7
+499,7
@@
void MSG_sem_release(sg_sem_t sem)
{
sg_sem_release(sem);
}
-int MSG_sem_get_capacity(sg_sem_t sem)
+int MSG_sem_get_capacity(
const_
sg_sem_t sem)
{
return sg_sem_get_capacity(sem);
}
@@
-507,7
+507,7
@@
void MSG_sem_destroy(const_sg_sem_t sem)
{
sg_sem_destroy(sem);
}
-int MSG_sem_would_block(sg_sem_t sem)
+int MSG_sem_would_block(
const_
sg_sem_t sem)
{
return sg_sem_would_block(sem);
}