[all-commits] [llvm/llvm-project] 0e34f3: [libc++] Extract a clean base support API for std:...

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Dec 9 06:14:39 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e34f3f4968d8d32a64e26777541f939deb2274c
      https://github.com/llvm/llvm-project/commit/0e34f3f4968d8d32a64e26777541f939deb2274c
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__atomic/atomic.h
    M libcxx/include/__atomic/atomic_flag.h
    M libcxx/include/__atomic/atomic_sync.h
    M libcxx/include/__atomic/contention_t.h
    R libcxx/include/__atomic/cxx_atomic_impl.h
    M libcxx/include/__atomic/fence.h
    A libcxx/include/__atomic/support.h
    A libcxx/include/__atomic/support/c11.h
    A libcxx/include/__atomic/support/gcc.h
    M libcxx/include/atomic
    M libcxx/include/module.modulemap
    M libcxx/test/configs/armv7m-picolibc-libc++.cfg.in

  Log Message:
  -----------
  [libc++] Extract a clean base support API for std::atomic (#118129)

This patch documents the underlying API for implementing atomics on a
platform.

This doesn't change the operations that std::atomic is based on, but it
reorganizes the C11 / GCC implementation split to make it clearer what's
the base support layer and what's not.



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