[libc-commits] [libc] [libc] implement pthread_mutex_trylock (PR #93359)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Tue May 28 17:26:12 PDT 2024


SchrodingerZhu wrote:

@nickdesaulniers I hope to put a pause to this PR since my mutex patch actually exposes try_lock api. (Sorry again for such conflicts.) It is okay to discuss suggested changes but please keep in mind that the implementation of `try_lock` using strong CAS may be already covered in another PR in flight.

It can be valuable if you can extend this PR to actually implement the POSIX API and provide test cases for that API.

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


More information about the libc-commits mailing list