You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.