Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Fix smpi_process_index_of_smx_process()
authorGabriel Corona <gabriel.corona@loria.fr>
Fri, 29 Aug 2014 10:25:27 +0000 (12:25 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Fri, 29 Aug 2014 10:25:27 +0000 (12:25 +0200)
commit7eca39f4b3ea15b9f4613a555408ea440911ecf5
tree745fc8518c86d0c10a02ecc11b73994fb6b73f57
parent812b80627d5d80706453e78ef7ffdd69efb3bedb
[mc] Fix smpi_process_index_of_smx_process()

The SMPI process ID is simply the SIMIX PID - 1. The previous solution
(getting the data field of the SIMIX process) was mostly correct but
the 'data' field was not initally set to the SMPI process data
structure (but was NULL).
src/simix/smx_process_private.h
src/smpi/private.h
src/smpi/smpi_global.c