[all-commits] [llvm/llvm-project] ba01a2: [libc] Add memory fences to device-local locking c...
Jon Chesterfield via All-commits
all-commits at lists.llvm.org
Thu Jun 22 09:46:27 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ba01a2c608cb6272934c41596cb3a8c3915cc514
https://github.com/llvm/llvm-project/commit/ba01a2c608cb6272934c41596cb3a8c3915cc514
Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
Date: 2023-06-22 (Thu, 22 Jun 2023)
Changed paths:
M libc/src/__support/RPC/rpc.h
Log Message:
-----------
[libc] Add memory fences to device-local locking calls
This makes the interface less error prone. The acquire was previously
forgotten. Release is currently missing if recv() is the last operation made
before close.
Reviewed By: jhuber6
Differential Revision: https://reviews.llvm.org/D153571
More information about the All-commits
mailing list