Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove comm from src_proc->comms and dst_proc->comms when finish it,
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Fri, 14 Dec 2012 14:57:57 +0000 (15:57 +0100)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Sun, 16 Dec 2012 17:34:16 +0000 (18:34 +0100)
commit415bcef093fcaa88f34a8ccd48248815a5a8757f
tree299103eed1272f1718375b94ea652e126e2ad184
parentba82f10f3e6c03bbe3002b38e59ae34a71574359
Remove comm from src_proc->comms and dst_proc->comms when finish it,
if is detached (dsend)

Currently, with dsend action, the wait of src_proc is not necessary to
finish the communication. In this case, only dst_proc removes this
communication from its list and destroys it, if src_proc is always
running. When src_proc makes a process_cleanup after that, it
retrieves this communication in its list while it doesn't exist
anymore and thinks that this communication isn't for it. This led to a
simulation error.
src/simix/smx_network.c