[PATCH] D53922: [clangd] fix non linux build
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 31 02:32:34 PDT 2018
sammccall added a comment.
In https://reviews.llvm.org/D53922#1281882, @krytarowski wrote:
> For NetBSD:
>
> - `ThreadPriority::Low` select either `SCHED_RR` or `SCHED_FIFO`, call sched_get_priority_min() and set pthread_setschedparam().
https://www.netbsd.org/docs/internals/en/chap-processes.htm indicates `SCHED_RR` and `SCHED_FIFO` are real-time priorities on NetBSD, as they are on linux.
i.e. higher priority than normal threads, regardless of priority value.
Repository:
rL LLVM
https://reviews.llvm.org/D53922
More information about the cfe-commits
mailing list