[Issue 13058] New: Thread priority handling doesn't work in Solaris

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 6 12:41:36 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13058

          Issue ID: 13058
           Summary: Thread priority handling doesn't work in Solaris
           Product: D
           Version: D2
          Hardware: x86
                OS: Solaris
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: jason.brian.king at gmail.com
            Blocks: 8859

Due to an (arguably) long-standing bug, the posix interfaces for manipulating
thread priority on Solaris are broken (short version: for TS threads, you can
only ever lower the priority, never raise it -- even to a previous value).

The easiest solution is it use the priocntl(2) interface, which what the posix
interfaces use anyway.

--


More information about the Digitalmars-d-bugs mailing list