[PATCH] D58492: [clangd] Add thread priority lowering for MacOS as well

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 22 01:03:38 PST 2019


kadircet added a comment.

This one was used in a few different places in clang, for ex: https://github.com/llvm-mirror/clang/blob/master/tools/libclang/CIndex.cpp#L8713. Therefore I've used the same funcitonality.

Regarding `pthread_setschedparam` does setting prioirty to `PTHREAD_MIN_PRIORITY` on either `SCHED_FIFO` or `SCHED_RR` policy corresponds to `SCHED_IDLE` in linux(http://man7.org/linux/man-pages/man7/sched.7.html)?


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