<div dir="ltr"><div dir="ltr"><div>Appreciate the input from everyone. This is an experimental feature that isn't hooked up anywhere yet, linux/glibc-only is fine for now. We can revisit once this code is actually used.</div><div><br></div><div>(BTW musl seems to work fine: <a href="https://git.musl-libc.org/cgit/musl/tree/src/thread/pthread_setschedparam.c">https://git.musl-libc.org/cgit/musl/tree/src/thread/pthread_setschedparam.c</a>)</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 2, 2018 at 9:09 PM Fangrui Song via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">MaskRay added a comment.<br>
<br>
I don't even know if this actually does any good. In some libc implementations `pthread_setschedparam` may be a no-op (e.g. in musl)<br>
<br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="https://reviews.llvm.org/D53922" rel="noreferrer" target="_blank">https://reviews.llvm.org/D53922</a><br>
<br>
<br>
<br>
</blockquote></div>