first try at killing GRAS -- does not compile yet
Ensures that SIMIX_clean is called automatically
First bricks for auto_restart support in SIMIX/MSG.
Rewrite the kill_time mecanism.
Move all XBT_LOG_CONNECT into one place.
Remove useless use of XBT_LOG_EXTERNAL_CATEGORY.
Fix format strings to match their arguments.
Move datadesc and TCP sockets from GRAS to XBT. XBT supports sockets with explicit choice of the transport plugin. XBT provides only one transport plugin: TCP (i.e. real sockets) and allows other layers to write their custom plugins. GRAS implements such custom plugins: simulated sockets and file sockets. TCP sockets only existed in GRAS RL mode. They can now also be used in GRAS SG mode. More pieces of GRAS remain to be moved to XBT before TCP sockets can also be used outside GRAS (e.g. in SIMIX 3, one day, to distribute the simulation).
SIMIX refactoring: replace 'request' by a more precise term: 'simcall' All functions that make a system call (or simcall) are now simcall_* (instead of SIMIX_req_*). They all interrupt the execution flow until the kernel answers the simcall. Let's hope that SIMIX will be easier to understand ;)
SIMIX: add a redundant parameter to avoid repeated SIMIX_process_self()
Use xbt_XXX_is_empty() instead of testing xbt_XXX_length() against 0. Where XXX is 'dict' or 'dynar'. (was a request from emptty)
typos in comments
Remove usage of xbt_assert[0-9]. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9858 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Use new style logging macros. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9653 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Replace the return value of SIMIX_req_process_create() by a parameter. This is because the new process created may start its execution before this function returns, making the assignment of the return value occur too late. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9521 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Biggest commit ever (SIMIX2): the user processes can now run in parallel in SIMIX git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8873 48e7efb5-ca39-0410-a469-dd3cf9ba447f
implement gras_agent_spawn in RL, kill the data argument out of it git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8642 48e7efb5-ca39-0410-a469-dd3cf9ba447f
cosmetics git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8641 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Indent include and src using this command: indent -kr -br -brs -ce -bbo --dont-break-procedure-type --no-tabs --cuddle-do-while --cuddle-else --indent-level2 --leave-preprocessor-space --no-space-after-function-call-names I also had to play with fromdos and to check that sg_unit_extractor.pl did not get fooled by XBT_TEST_UNIT lines splitted in half by indent. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8394 48e7efb5-ca39-0410-a469-dd3cf9ba447f
add gras_load_environment_script & gras_function_register_default functions to gras git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8121 48e7efb5-ca39-0410-a469-dd3cf9ba447f