Skip to content

redundant definition of queue size #17

Closed
@pnndra

Description

@pnndra

queue size of 0 has the same behaviour of queue size=1 hence it would make sense to move the -1 case (non blocking) to queue size = 0 and handle with queues everything else or, if we want to save a bit, move the current size=0 to size=1

https://github.com/bcmi-labs/Arduino_Threads/blob/01aca729e6480faf5f2571a182fee21b365207cf/src/Arduino_Threads.h#L72

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