[libc-commits] [libc] [libc][semaphore] Add unnamed semaphore implementation (PR #190851)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Wed Apr 8 13:26:42 PDT 2026


https://github.com/michaelrj-google requested changes to this pull request.

Given that this PR only adds part of the semaphore mechanism I would prefer to avoid adding the incomplete entrypoints. Instead I would recommend changing the test to use the semaphore class directly. That would also means we don't need to define the public `sem_t` class, we can instead add that once the internal semaphore class has all the necessary functionality.

Having semaphores would be helpful and I appreciate you working on it. This way should make it easier to add in pieces without needing to edit the entrypoints repeatedly.

https://github.com/llvm/llvm-project/pull/190851


More information about the libc-commits mailing list