www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13058] New: Thread priority handling doesn't work in Solaris


          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 puremagic.com
          Reporter: jason.brian.king 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.

Jul 06 2014