Commit 9ffde19d authored by Joseph Huber's avatar Joseph Huber
Browse files

[libc] Add PAUSE instruction for the RPC spin loop

The other architectures use a brief sleep to defer work during this spin
loop that checks the RPC mailboxes. This patch adds one for x64 to
improve usage when running the server.

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D156566
parent 4f52210a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment