Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SMPI: simplify process creation
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 12 Apr 2017 05:44:06 +0000 (07:44 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 12 Apr 2017 05:53:04 +0000 (07:53 +0200)
commit6fb0b52abc86ae251e7d28a9c127dcf26e9a2e1f
tree261992d1cde09e83a1051cbe67b8a22208b38e1d
parente631173bebbd716f33286a72e58d50cf1b79057a
SMPI: simplify process creation

finalization_barrier is either created when the processes are created
from smpirun, or taken from the instance if any. So there is no need
for a setter

This could be further simplified by making a default instance when
starting from smpirun. I just need to understand how to make this move
in the current swamp of corner cases...
src/smpi/smpi_global.cpp
src/smpi/smpi_process.cpp
src/smpi/smpi_process.hpp