Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Prevent warning message 'config elem ... registered twice'
authorChristian Heinrich <christian.heinrich@livando.com>
Mon, 9 Feb 2015 13:45:10 +0000 (14:45 +0100)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Thu, 15 Oct 2015 17:17:16 +0000 (19:17 +0200)
commit856abfd0c6dd192c4d9ae7947d69b16097be5dcb
treec51e3c8ccaca90083a0afc0d6b795eeef35543c0
parent78f6c2a51afd931fe8663bacdd65189bab329633
Prevent warning message 'config elem ... registered twice'

Currently, Lua platform files require the MSG module to be
initialised. Hence, when SMPI and Lua platform files are
used at the same time, MSG and SMPI will be
completely initialised, resulting in multiple calls
to TRACE_global_init which sets up the config params.

This commit simply adds a flag to that function so that
the config elems are registered only once.
src/instr/instr_config.c