Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[simix] Attach context
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 19 Jan 2016 13:49:13 +0000 (14:49 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 9 Feb 2016 10:30:46 +0000 (11:30 +0100)
commitebbf93ef2f2d1164e90a579d18328a570fd67acb
tree040fe6f316adf41d0a60210f3d3b18af56b5f8ad
parentbfe04f0649d88e4875c7abef0d47dcbc039027b1
[simix] Attach context

This is expected ot be used in order to use the main caller/thread as
one of the simulated function. This can be used in order to expose an
API where the maestro is hidden and the main thread is the main
process and can create other simulated processes.
17 files changed:
examples/msg/sendrecv/CMakeLists.txt
examples/msg/sendrecv/deployment_sendrecv_main.xml [new file with mode: 0644]
examples/msg/sendrecv/sendrecv_CLM03_main.tesh [new file with mode: 0644]
examples/msg/sendrecv/sendrecv_main.c [new file with mode: 0644]
include/simgrid/msg.h
include/simgrid/simix.h
include/simgrid/simix.hpp
src/msg/msg_process.cpp
src/simix/Context.cpp
src/simix/ThreadContext.cpp
src/simix/ThreadContext.hpp
src/simix/smx_global.cpp
src/simix/smx_private.h
src/simix/smx_process.cpp
src/simix/smx_process_private.h
src/xbt/xbt_os_thread.c
tools/cmake/Tests.cmake