Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cancel the comms of leaving processes instead of destroying them
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 17 Oct 2012 21:25:06 +0000 (23:25 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 17 Oct 2012 21:29:11 +0000 (23:29 +0200)
commit8042ae8df482e01b5e162ba8d90296ae0292e257
treed55ddd5e87ada4aa23106dc565311546771c2589
parent6e32675264e608d750a148f1949e66635bda14d8
Cancel the comms of leaving processes instead of destroying them

This avoids segfaults when a process leaves the simulation before all
its asynchronous comms (included detached ones) end.

This may leak the canceled actions, but that's another bug, in
comm_cancel.
src/simix/smx_process.c