Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: make all waitReasons distinct? #24362
Migrated from the discussion in CL 99078:
Should we do this? If so, distinct ints only or also distinct strings?
The fix is pretty easy regardless. cc @aclements for opinions.
Probably these should actually get factored into a single function. It's three copies of very similar code.
These could be distinct. One is for acquiring semaphores, the other is for
These really are the same thing, but the control flow makes it a little tricky to bring them together, so this is fine.