[all-commits] [llvm/llvm-project] d4380f: [libc] Add `fetch_or` to the atomic interface
Joseph Huber via All-commits
all-commits at lists.llvm.org
Sat Apr 15 05:43:31 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d4380fcbb8ea9994f26ea3cd8a59bfa601c302d6
https://github.com/llvm/llvm-project/commit/d4380fcbb8ea9994f26ea3cd8a59bfa601c302d6
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-04-15 (Sat, 15 Apr 2023)
Changed paths:
M libc/src/__support/CPP/atomic.h
Log Message:
-----------
[libc] Add `fetch_or` to the atomic interface
Summary:
This patch adds `fetch_or`. It is mainly useful for querying and set a
bit's status without using the more expensive `exchange` functions.
More information about the All-commits
mailing list