Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[simix] C++-based ownership of process name and arguments
authorGabriel Corona <gabriel.corona@loria.fr>
Fri, 20 May 2016 10:23:15 +0000 (12:23 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Mon, 23 May 2016 07:05:21 +0000 (09:05 +0200)
commit5942182c3a29de424e91a87f019a596b3a2e71bf
treec36fb7c54d7ac8d6202d97ee26b2e30b96459873
parent001a723e0c10af5facba4f0bb5de625bc3da00e1
[simix] C++-based ownership of process name and arguments

* Process and ProcessArg now use a std::string instead of a a char*. A
  consequence it that there now no difference bewteen the "" name and
  the nullptr process name (only the former is possible).

* simix::simgrid::args now always copy the arguments.

* simix::simgrid::args now as a .to_argv() method used to copy its
  argv.
14 files changed:
examples/msg/io-storage/io-storage.tesh
include/simgrid/simix.hpp
src/msg/instr_msg_process.cpp
src/msg/msg_process.cpp
src/simix/libsmx.cpp
src/simix/popping.cpp
src/simix/popping_bodies.cpp
src/simix/smx_global.cpp
src/simix/smx_host.cpp
src/simix/smx_network.cpp
src/simix/smx_process.cpp
src/simix/smx_process_private.h
src/simix/smx_vm.cpp
src/surf/sg_platf.cpp