Skip to content

Atomic tasks #4

@pingbird

Description

@pingbird

A nice feature to have would be atomic tasks which will only context switch to other atomic tasks when yielded with taskDelay sort of like co-routine based multitasking. This would eliminate the need for mutexes on every variable shared by tasks.

Combined with this you could also have taskCreate instantly yield to the task its creating, allowing you to pass structs without dynamic allocation or statics since pointers to the struct on the caller's stack would still be valid

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis builds on top of an existing featurep: lowLow priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions