Skip to content

Delay should put task to sleep #2

@scttnlsn

Description

@scttnlsn

Currently a delay is just a busy loop that yields back to the OS every iteration. Might be better to put the task to sleep and store this time (in the task data structure). Every context switch would first wake up tasks that have been sleeping for long enough.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions