Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Enhance the communication filtering mechanism
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 27 Apr 2012 19:51:05 +0000 (21:51 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 27 Apr 2012 19:51:05 +0000 (21:51 +0200)
commit32f134d2bd99b42aaf41ead6aa8fdb58962efd16
treee9126b921e13cc1a5e4dfe15f27740855ba4e23c
parente51ea751d20f2437b9b350a3bab1db3c257fb54f
Enhance the communication filtering mechanism

* Add an extra argument to the filter: a smx_action_t describing the
  other side's communication. That's useful to write filters on other
  side's identity
* Ensure that if no comm matches the filters, the filter function gets
  saved in the comm object that gets created and stored in rdv point.
  Later on, when someone else tries to make a match, use that stored
  function to ensure that the stored filter accepts to match the new
  commer.

Thanks to Sorina Camarasu for exploring all this.
include/msg/msg.h
include/simix/simix.h
src/msg/msg_gos.c
src/simix/smx_network.c
src/simix/smx_network_private.h
src/simix/smx_private.h
src/simix/smx_smurf_private.h
src/simix/smx_user.c
src/smpi/smpi_base.c