Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change variable waiting_task to waiting_action on msg process control.
authordonassbr <donassbr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 29 Sep 2009 12:42:05 +0000 (12:42 +0000)
committerdonassbr <donassbr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 29 Sep 2009 12:42:05 +0000 (12:42 +0000)
commite487ef4538248f261ddb6e814357593df7646e33
tree0c12e8d49c536ce09f3a0ba760df8dfca82da1db
parentae9cb1a80506c00479fa84f8a56cdce227704628
Change variable waiting_task to waiting_action on msg process control.
So, we can use the same variable to see when the process is sleeping (MSG_process_sleep) and it's killed by another process.
Now, waiting_action saves the simix action on which the process is waiting. It can be a communicate, an execute or a sleep action.
Remove from action_set when cancelling an action on cpu_im model.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6684 48e7efb5-ca39-0410-a469-dd3cf9ba447f
src/msg/gos.c
src/msg/m_process.c
src/msg/msg_mailbox.c
src/msg/private.h
src/surf/cpu_im.c