Rename C++ only header files from .h to .hpp.
Use std::vector instead of dynar in simix_global (process_{to_run,that_ran}).
get rid of smx_file_t
and now, a correct implementation of this_actor::isMaestro()
this is now useless
prefix all macro defined in public simgrid_config.h with 'SIMGRID_' (fix #162)
introduce type aid_t for Actor's ID (ie, PID)
Allow to mark actors as daemon Daemon actors are automatically killed when the last non-daemon terminates
Cleanups - please sonar (no macro name should start with a _) - please clang-format (unclutter the code to clutter my diffs) - kill some empty files - fix some copyright lines
fix the build with older g++ Let's not use this Java-like syntax here
Make SIMIX_process_from_PID much faster It was a linear search in a swag, that's now using a std::map that are usually implemented with Red/Black trees. This patch is more complex that it should because currently, the model-checker needs to read the list of processes from the remote process. We cannot do that from a std::map because it would require to understand the private implementation of the std::map, which is system/compiler dependent. Instead, in MC mode, we copy the whole list of processes from the map into a dynar that is easier to read remotely. This hack should obviously not remain as is. Instead, we should make sure that the MCer does not need to have the whole list of processes (even if it could read one or two given processes on need). It seems that this list is mainly used for the computation of the list of enabled transitions. A promising idea is to move that computation to the MCed that has all needed information. The precomputed data could be made available to the MCer that would only have to read the result, which constitutes much less info to read remotely.
further reduce the amount of includes
cut some useless includes
rename smx_process_t to smx_actor_t
track all the useless void
Populate the kernel::context namespace and continue separating concerns out of simix This is also the objectification of SimIX. The numerous globals out there should be moved to something like an EngineImpl, at some point.
Rename smx_process to ActorImpl
[xbt] Move throwpoint out of xbt_ex in WithContextException
[simix] Execute future callbacks in the main loop By avoiding to execute them directly, we avoid problems such as stack overflows, resource acquisition problems, etc.
[simix] Fix extern 'C' error from clang