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
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git]
/
src
/
bindings
/
lua
/
lua_task.c
diff --git
a/src/bindings/lua/lua_task.c
b/src/bindings/lua/lua_task.c
index
e9c32d2
..
62eee82
100644
(file)
--- a/
src/bindings/lua/lua_task.c
+++ b/
src/bindings/lua/lua_task.c
@@
-129,7
+129,7
@@
static int l_task_get_computation_duration(lua_State* L)
static int l_task_execute(lua_State* L)
{
msg_task_t task = sglua_check_task(L, 1);
static int l_task_execute(lua_State* L)
{
msg_task_t task = sglua_check_task(L, 1);
-
MSG
_error_t res = MSG_task_execute(task);
+
msg
_error_t res = MSG_task_execute(task);
if (res == MSG_OK) {
return 0;
if (res == MSG_OK) {
return 0;
@@
-247,7
+247,7
@@
static int l_task_send(lua_State* L)
/* task */
sglua_task_register(L);
/* -- */
/* task */
sglua_task_register(L);
/* -- */
-
MSG
_error_t res = MSG_task_send_with_timeout(task, mailbox, timeout);
+
msg
_error_t res = MSG_task_send_with_timeout(task, mailbox, timeout);
if (res == MSG_OK) {
lua_pushboolean(L, 1);
if (res == MSG_OK) {
lua_pushboolean(L, 1);
@@
-349,7
+349,7
@@
static int l_task_recv(lua_State* L)
/* no timeout by default */
}
/* mailbox ... */
/* no timeout by default */
}
/* mailbox ... */
-
MSG
_error_t res = MSG_task_receive_with_timeout(&task, mailbox, timeout);
+
msg
_error_t res = MSG_task_receive_with_timeout(&task, mailbox, timeout);
if (res == MSG_OK) {
sglua_task_unregister(L, task);
if (res == MSG_OK) {
sglua_task_unregister(L, task);