Skip to content

Semaphore with negative count (suggestion) #71

@mh-joneydi

Description

@mh-joneydi

As _weightedQueues is private in the semaphore, to detect the number of pending items, it would be better to make the count negative when added to the queue. (number of pending = absolute value of count )

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