X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ef124af903bef166526a5e5a34e035db21876103..15f9e0adbd11d2a0736440004a2f71ef9cfccab8:/src/kernel/context/ContextSwapped.cpp diff --git a/src/kernel/context/ContextSwapped.cpp b/src/kernel/context/ContextSwapped.cpp index 4d277b7ed7..2d53c8e4cf 100644 --- a/src/kernel/context/ContextSwapped.cpp +++ b/src/kernel/context/ContextSwapped.cpp @@ -227,6 +227,12 @@ void SwappedContext::suspend() } } +void SwappedContext::stop() +{ + Context::stop(); + throw StopRequest(); +} + } // namespace context } // namespace kernel } // namespace simgrid