Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Display a msg when contexts are killed by uncatched exceptions
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 29 Aug 2018 09:35:10 +0000 (11:35 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 29 Aug 2018 09:53:41 +0000 (11:53 +0200)
commitbd13415f2c334a0f2fe258010f37f507ee1ded37
tree74f6f39b4feaef00ba1279161652d9fb33890421
parent81ee7d3fca29758a511b651d520e7b35aafbf018
Display a msg when contexts are killed by uncatched exceptions

and when I want to really kill an actor (eg when its host is turned
off), I launch an uncatchable kernel::Context::StopRequest instead of
a catchable simgrid::HostFailureException (which will be used in case
of remote exec and similar)

Maybe there should be a config flag to decide if we want to kill the
simulation when an actor fails. The current setting forces the user to
add try/catch (simgrid::Exception) around their main functions. That's
not a bad thing either, not sure.
src/kernel/context/Context.hpp
src/kernel/context/ContextBoost.cpp
src/kernel/context/ContextRaw.cpp
src/kernel/context/ContextThread.cpp
src/kernel/context/ContextUnix.cpp
src/simix/ActorImpl.cpp