~mir-team/mir/development-branch

Viewing all changes in revision 1668.

  • Committer: Alan Griffiths
  • Author(s): Alexandros Frantzis
  • Date: 2014-05-28 07:56:16 UTC
  • mfrom: (1646.1.1 emergency-cleanup)
  • Revision ID: alan@octopull.co.uk-20140528075616-scjhy4x8yvzs0ji7
Tags: br0.2
server: Introduce the EmergencyCleanup interface

Introduce a way for components to add emergency cleanup handlers. Such handlers are called in case of fatal errors, to ensure we leave the system in an usable/clean state.

This MP introduces the interfaces, a default implementation and change our existing socket file clean-up mechanism to use the new infrastructure.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: