Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Tentative implementation of Activity::suspend() and resume()
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Wed, 8 Jul 2020 14:48:57 +0000 (16:48 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Wed, 8 Jul 2020 15:16:23 +0000 (17:16 +0200)
commitd08986414f2aaf9c858b0f63668c6e36ee4cb61f
treec4d8b47a6fe621cf25d1b37dca6789346769061a
parent961e11dbc1eb200e7a02f53e26025880a91e3b83
Tentative implementation of Activity::suspend() and resume()

I decided not to change the State when the activity is suspended,
because that State merely denotes whether pimpl_ was created already
or not.

This commit also adds a is_suspended() method, as well as an example.
docs/source/app_s4u.rst
examples/README.rst
examples/s4u/CMakeLists.txt
examples/s4u/comm-suspend/s4u-comm-suspend.cpp [new file with mode: 0644]
examples/s4u/comm-suspend/s4u-comm-suspend.tesh [new file with mode: 0644]
examples/s4u/comm-suspend/s4u-comm-suspend_d.xml [new file with mode: 0644]
include/simgrid/s4u/Activity.hpp
src/s4u/s4u_Activity.cpp
src/s4u/s4u_Comm.cpp
src/s4u/s4u_Exec.cpp
src/s4u/s4u_Io.cpp