Skip to content

Main loop is thread 0 in notes. #32

@farmerbriantee

Description

@farmerbriantee

This isn't an issue, but felt it was worth mentioning. I am pretty sure it isn't in the documentation that as soon as you add a thread then the main "Loop" is also a thread and now is limited to the timeslice default. If 99% of your code is in main loop and you add a thread that can run continuous, it now uses half the processor time.

Great library, but perhaps include that the traditional Arduino "Loop" function now becomes thread 0 and may require much more timeslice from the default. Thank you for the excellent library.

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