[PATCH] D58492: [clangd] Add thread priority lowering for MacOS as well
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 21 04:50:28 PST 2019
ilya-biryukov added inline comments.
================
Comment at: clangd/Threading.cpp:125
+#elif defined(__APPLE__)
+ // https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/getpriority.2.html
+ setpriority(PRIO_DARWIN_THREAD, 0,
----------------
This points into `iPhoneOS` docs, might be confusing.
Is there a link for the desktop version of the OS somewhere?
Could also leave it out, I'm sure setpriority is easy to google.
Repository:
rCTE Clang Tools Extra
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58492/new/
https://reviews.llvm.org/D58492
More information about the cfe-commits
mailing list