Skip to content

Able to initialize Semaphore with groupId starting from non-zero value #924

@jimmychu0807

Description

@jimmychu0807

Describe the improvement you're thinking about

Semaphore starts with groupId = 0. Being able to have groupId starts with 1 (or non-zero value) maybe more convenient in certain cases, so checking an object with groupId == 0 mean the object/entity doesn't belong to any valid group.

Currently there is no straightforward way to initialize the groupId to start from values other than 0.

Describe alternatives you've considered

We can always have another variable to indicate if an object/entity belongs to a valid group.

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