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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to