Skip to content

Scheduler may not correctly commit tasks or events on reboot #12

Description

@mavaneerden

The events and threads both have state machines, that need to be called repeatedly to finish their respective actions.
For example, to fully commit an event, __events_commit must be called twice after adding the event to the queue. Similarly, the thread __tick function must be called at least 2 times to finish a task execution (if the task is not an entry task).

The scheduler only calls each of these functions once after a reboot. This is not enough to fully commit the events or tasks in some cases, and may then lead to incorrect program behavior.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions