[all-commits] [llvm/llvm-project] 03841e: [libc] add spin lock family functions (#100509)

Schrodinger ZHU Yifan via All-commits all-commits at lists.llvm.org
Tue Aug 6 21:03:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03841e7ab847b279d65be707a8e0f2799fd69f50
      https://github.com/llvm/llvm-project/commit/03841e7ab847b279d65be707a8e0f2799fd69f50
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-08-06 (Tue, 06 Aug 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/api.td
    M libc/docs/dev/undefined_behavior.rst
    M libc/include/CMakeLists.txt
    M libc/include/llvm-libc-types/CMakeLists.txt
    A libc/include/llvm-libc-types/pthread_spinlock_t.h
    M libc/newhdrgen/yaml/pthread.yaml
    M libc/spec/posix.td
    M libc/src/__support/threads/spin_lock.h
    M libc/src/pthread/CMakeLists.txt
    A libc/src/pthread/pthread_spin_destroy.cpp
    A libc/src/pthread/pthread_spin_destroy.h
    A libc/src/pthread/pthread_spin_init.cpp
    A libc/src/pthread/pthread_spin_init.h
    A libc/src/pthread/pthread_spin_lock.cpp
    A libc/src/pthread/pthread_spin_lock.h
    A libc/src/pthread/pthread_spin_trylock.cpp
    A libc/src/pthread/pthread_spin_trylock.h
    A libc/src/pthread/pthread_spin_unlock.cpp
    A libc/src/pthread/pthread_spin_unlock.h
    M libc/test/integration/src/pthread/CMakeLists.txt
    M libc/test/integration/src/pthread/pthread_rwlock_test.cpp
    A libc/test/integration/src/pthread/pthread_spinlock_test.cpp

  Log Message:
  -----------
  [libc] add spin lock family functions (#100509)

This PR:
- add entrypoints for `pthread_spin_*`
- additionally, the fixes a typo that has been disabling lock related
tests



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