Skip to content

Do not lower run level on rl_changer terminate #27

Description

@ieQu1

Changing the run level in the terminate callback is prone to deadlock if the callback is called when classy application stops. The deadlocks happen when run level callbacks also attempt to talk to the application controller.

  1. Remove terminate_loop from terminate callback and move it to a dedicated API
  2. After calling this API the RL server becomes locked, it responds with errors to all attempts to change the run level.
  3. User should call this function directly from a safe place that is outside of application callback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions