Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Sanitize the handling of timeouts in CommImpl, ExecImpl and IoImpl
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Thu, 23 Feb 2023 21:21:47 +0000 (22:21 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Thu, 23 Feb 2023 21:37:44 +0000 (22:37 +0100)
commite59357ba4f93c5bca3121f386f00e1cea7429a0d
tree46df39ac3e960fd8a40fc674ba52ed68c463f929
parent4fed976abe76440dec88172f6131cf5c4385e350
Sanitize the handling of timeouts in CommImpl, ExecImpl and IoImpl

There is no need for a timeout detector in ExecImpl and IoImpl, as
wait_for injects a Synchro to that extend on need.

Use a uniq_ptr on the CommImpl timeout detectors, so that the memory
is managed automatically. As it used to be for ExecImpl.

This kills the last occurrence of surf in the code. For real this time.
src/kernel/activity/ActivityImpl.cpp
src/kernel/activity/CommImpl.cpp
src/kernel/activity/CommImpl.hpp
src/kernel/activity/ExecImpl.cpp
src/kernel/activity/ExecImpl.hpp
src/kernel/activity/IoImpl.cpp
src/kernel/activity/IoImpl.hpp