[all-commits] [llvm/llvm-project] 91c0fd: [libc] add posix_mutex_trylock support (#191531)

Schrodinger ZHU Yifan via All-commits all-commits at lists.llvm.org
Mon Apr 13 07:54:50 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91c0fdfe13928838864d9618ea28dcbe9a112b8c
      https://github.com/llvm/llvm-project/commit/91c0fdfe13928838864d9618ea28dcbe9a112b8c
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2026-04-13 (Mon, 13 Apr 2026)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/include/pthread.yaml
    M libc/src/__support/threads/mutex.h
    M libc/src/pthread/CMakeLists.txt
    A libc/src/pthread/pthread_mutex_trylock.cpp
    A libc/src/pthread/pthread_mutex_trylock.h
    M libc/test/integration/src/pthread/CMakeLists.txt
    M libc/test/integration/src/pthread/pthread_mutex_test.cpp

  Log Message:
  -----------
  [libc] add posix_mutex_trylock support (#191531)

Expose existing trylock internal operation to posix interface.
POSIX.1-2024 only specifies the `EBUSY` error case.

Assisted-by: Codex with gpt-5.4 default fast



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list