Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Platform generation can now be used with MSG
authorJean-Baptiste Hervé <jean-baptiste.herve@esial.net>
Fri, 3 Aug 2012 12:00:49 +0000 (14:00 +0200)
committerJean-Baptiste Hervé <jean-baptiste.herve@esial.net>
Fri, 3 Aug 2012 12:00:49 +0000 (14:00 +0200)
commitb4b2e66a3e8b0f5e84729c3d57a3cfd17a894bd5
treea0cb6de4c8432b95718cdb190d6f3090923336ed
parent136c392f57e7ba67c2f04e65f07074c71061d944
Platform generation can now be used with MSG

Some stuff had to be done by SIMIX and MSG right after the XML platform parsing. It is now done by callbacks, registered in SURF at initialization. So that stuff is also done when you create a random platform with the generator.
Add some ugly code to avoid the deletion of these registered callbacks before the parsing.
src/msg/msg_environment.c
src/msg/msg_global.c
src/msg/msg_private.h
src/simix/smx_environment.c
src/simix/smx_global.c
src/simix/smx_private.h
src/surf/platf_generator.c
src/surf/sg_platf.c
src/surf/surfxml_parseplatf.c