Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[surf] Change CPU initialization
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 24 Nov 2015 10:27:18 +0000 (11:27 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 24 Nov 2015 11:54:39 +0000 (12:54 +0100)
commitaa5a7febd33d50d8457f71c35f11c39bef0b64e4
tree4148159d30a4efed89bb21e59c22edb0aeb83a8f
parentb3b8a3e821fc6fd4403ddf71cf9e2e09c03f7ce7
[surf] Change CPU initialization

- Move creation callbacks out of constructor (the object is not fully
constructed in the Host constructor).

- Do not call the setState virtual method in the constructor. This
  calls the stateChanged callbacks some of which expect the
  hostCreated callbacks to have been called.
src/surf/cpu_cas01.cpp
src/surf/cpu_interface.cpp
src/surf/cpu_interface.hpp
src/surf/cpu_ti.cpp
src/surf/host_ptask_L07.cpp
src/surf/surf_interface.cpp
src/surf/surf_interface.hpp