Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove the create_resource entry point in resource model APIs
authorMartin Quinson <martin.quinson@loria.fr>
Thu, 20 Dec 2012 08:33:36 +0000 (09:33 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Thu, 20 Dec 2012 08:33:36 +0000 (09:33 +0100)
commit51dcb8e712855f3cb16800ddea745ef6fc8d79e9
tree0d79fd0b36013089387e34a1d47c69aa33364409
parent5fa99e0865ddebb91c1e1df4c1fadf4b6c88e8c0
remove the create_resource entry point in resource model APIs

That's a leftover from ancient times that is not used anymore.
Instead, these functions are registered by each model as callbacks
within the sg_platf mechanism, which is now the unique way to create
resources (we had up to 3 different ways to create resources in the
code base :)
src/include/surf/surf.h
src/surf/cpu_cas01.c
src/surf/cpu_ti.c
src/surf/network.c
src/surf/storage.c
src/surf/workstation_ptask_L07.c