Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Improve context termination.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 21 Sep 2017 21:28:31 +0000 (23:28 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 22 Sep 2017 08:49:45 +0000 (10:49 +0200)
commit7b7b18bf76328764ba08d088f0b589c2737ffe36
tree37b2a18e787f06e1286d04250353e928d313eff0
parent3143f7c9b211373e47e43221a4587a253fc449df
Improve context termination.

Throw an exception to terminate the context at upper level, and have
resources freed by stack unwinding.

Closes #204, since pthread_exit is not called anymore.
src/kernel/context/Context.hpp
src/kernel/context/ContextBoost.cpp
src/kernel/context/ContextRaw.cpp
src/kernel/context/ContextThread.cpp
src/kernel/context/ContextThread.hpp
src/kernel/context/ContextUnix.cpp