[all-commits] [llvm/llvm-project] 64d169: [libc][NFC] Simplifly inbox and outbox state handling
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue May 16 11:12:21 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 64d169c74d2cd3730893dffacd0061b937e55169
https://github.com/llvm/llvm-project/commit/64d169c74d2cd3730893dffacd0061b937e55169
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-05-16 (Tue, 16 May 2023)
Changed paths:
M libc/src/__support/RPC/rpc.h
Log Message:
-----------
[libc][NFC] Simplifly inbox and outbox state handling
Currently we use a template parameter called `InvertInbox` to invert the
inbox when we load it. This is more easily understood as a static check
on whether or not the process running it is the server. Inverting the
inbox makes the states 1 0 and 0 1 own the buffer, so it's easier to
simply say that the server own the buffer if in != out. Also clean up some of
the comments.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D150365
More information about the All-commits
mailing list