[libc-commits] [libc] [libc] Mutex implementation for single-threaded baremetal (PR #145358)

William Huynh via libc-commits libc-commits at lists.llvm.org
Tue Jun 24 06:47:14 PDT 2025


saturn691 wrote:

1. Extremely sorry for the amount of force-pushes, I don't have access to some platforms on my host machine and am using the CI to test that I haven't broken anything (I have tested the baremetal configuration downstream).
2. Totally agree with your approach, I think it makes a lot of sense here, where we can share the implementation with the GPU, however, I still think in other places it makes a bit more sense, e.g. `src/time/baremetal`. I think overusing this build configuration will make the codebase harder to read, compared to the "switch-case" like nature of keeping the `baremetal` folder.

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


More information about the libc-commits mailing list