[all-commits] [llvm/llvm-project] 75747c: [libc] Remove the remaining uses of stdatomic.h.

Siva Chandra via All-commits all-commits at lists.llvm.org
Tue Mar 1 09:13:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75747c73946546fb9f9163b9a813b54f96874948
      https://github.com/llvm/llvm-project/commit/75747c73946546fb9f9163b9a813b54f96874948
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-03-01 (Tue, 01 Mar 2022)

  Changed paths:
    M libc/config/linux/api.td
    M libc/include/llvm-libc-types/CMakeLists.txt
    A libc/include/llvm-libc-types/__futex_word.h
    M libc/include/llvm-libc-types/mtx_t.h
    M libc/include/llvm-libc-types/once_flag.h
    M libc/include/llvm-libc-types/thrd_t.h
    M libc/src/__support/CPP/atomic.h
    M libc/src/threads/linux/CMakeLists.txt
    M libc/src/threads/linux/Futex.h
    M libc/src/threads/linux/Mutex.h
    M libc/src/threads/linux/Thread.h
    M libc/src/threads/linux/call_once.cpp
    M libc/src/threads/linux/thrd_create.cpp
    M libc/src/threads/linux/thrd_join.cpp
    M libc/test/src/threads/CMakeLists.txt
    M libc/test/src/threads/call_once_test.cpp
    M libc/test/src/threads/cnd_test.cpp

  Log Message:
  -----------
  [libc] Remove the remaining uses of stdatomic.h.

New methods to the Atomic class have been added as required. Futex
related types have been consolidated at a common place.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D120705




More information about the All-commits mailing list