[PATCH] D124715: Use QoS class Utility for ThreadPriority::Low on Mac

Stefan Haller via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 4 11:44:56 PDT 2022


stefanhaller added a comment.

In D124715#3491782 <https://reviews.llvm.org/D124715#3491782>, @akyrtzi wrote:

> That said, you may want to consider dynamically switching to background if running on laptop with battery, or other heuristics,

My take on this is that it would be Apple's responsibility to add a QoS class that has this behavior. I don't think it makes sense for every application to implement this logic client-side.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124715/new/

https://reviews.llvm.org/D124715



More information about the llvm-commits mailing list