Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix problem 20636 on gforge
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 1 Aug 2016 08:41:15 +0000 (10:41 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 1 Aug 2016 08:41:20 +0000 (10:41 +0200)
commit566c00275e9f0f06561e882c7c304f96e3f968a7
tree2c1d5962ebe043e85656fbd50fd4adfdca427e9f
parent48fdac3d4d3dac2546815c5c9fe1a019424d5f41
fix problem 20636 on gforge

- When a permanent receiver was set, the comm->mailbox was copied from
  the other comm
- But this is a marker of the which mailbox I'm enrolled into.
- So if I'm not pushed into a mailbox queue, then my mailbox field
  must remain clear.

- This problem was probably added during one of the recent
  objectification battle.
- It remained undiscovered so far because it seems to appear only when
  a second task is added to a permanent_receive mailbox.

This is at least my understanding of the problem, I'm not 100% sure.
src/simix/smx_network.cpp