Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Boost.Context context factory
authorGabriel Corona <gabriel.corona@loria.fr>
Thu, 4 Jun 2015 10:51:06 +0000 (12:51 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Fri, 5 Jun 2015 10:50:44 +0000 (12:50 +0200)
commita23e91ed7615232922aa1b38cef206dce24eb072
treef3b1e9d961150e60bfb39964b0c7891af14b4fc3
parent70439fdf4efc3ac256a832dcad7b3ce04c35be23
Boost.Context context factory

 * This is a portable replacement for ucontext.h (makecontext,
   swapcontext, getcontext, setcontext) which is not in recent POSIX
   specs and was apparently removed from Mac OS X since 10.9. POSIX
   2008 still has ucontext_t however (moved into signal.h).

 * Currently works only for Boost <= 1.55 (the Boost.Context API
   changed slightly afterwards).

 * Does not work with MC because we currently depend on the contexts
   being ucontext_t (we'd have to convert fcontext into ucontext_t).

 * No support for parallel execution support (yet).
buildtools/Cmake/AddTests.cmake
buildtools/Cmake/DefinePackages.cmake
buildtools/Cmake/MakeLib.cmake
buildtools/Cmake/PrintArgs.cmake
buildtools/Cmake/src/internal_config.h.in
src/mc/mc_process.cpp
src/simix/smx_context.c
src/simix/smx_context_boost.cpp [new file with mode: 0644]
src/simix/smx_private.h