Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix again FG #11 (mixing daemonize and auto-restart).
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 25 Apr 2019 06:18:29 +0000 (08:18 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 25 Apr 2019 14:09:04 +0000 (16:09 +0200)
Main changes:
* don't modify (clean) the on_exit vector on cleanup, but detach its shared_ptr instead;
* define ActorImpl::undaemonize() for daemon cleanup, and use it instead of using an
  on_exit callback (ensures that it is not added multiple times);
* complete test 'tesh-s4u-actor-autorestart' with an auto-restarting daemon.


No differences found