Skip to content
Success

Changes

Summary

  1. Fix bug when suspend() after resume() didn't work (details)
Commit 7f4ef9bd7879956b893f313c2adaa75e64eda1f1 by Martin Quinson
Fix bug when suspend() after resume() didn't work

If an activity was suspended and resumed in code several times,
after the second suspend() the activity wasn't actually suspended(),
and the remaining flops continued decreasing over the simulation.
The file was modified examples/cpp/CMakeLists.txt
The file was addedexamples/cpp/exec-suspend/s4u-exec-suspend.tesh
The file was modified src/s4u/s4u_Activity.cpp
The file was addedexamples/cpp/exec-suspend/s4u-exec-suspend.cpp