Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MSG_comm_destroy should not assume that the task still exists
authorChristophe Thiéry <christopho128@gmail.com>
Fri, 13 Jan 2012 14:07:08 +0000 (15:07 +0100)
committerChristophe Thiéry <christopho128@gmail.com>
Fri, 13 Jan 2012 15:45:48 +0000 (16:45 +0100)
commit2a6d1b59788a13c520e32f3def71d0fc280d532d
treee4a47f1736b294c0fd0e876584ddd75cb25caab8
parent7a5846ae0f17bbb8f9a0c907f36f15afa92cf73f
MSG_comm_destroy should not assume that the task still exists

task->isused is reset when a comm finishes.
It's just MSG_comm_waitany who forgot to do it.
src/bindings/lua/lua_task.c
src/bindings/lua/simgrid_lua.c
src/msg/msg_gos.c