Bug 13058 – Thread priority handling doesn't work in Solaris

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86
OS
Solaris
Creation time
2014-07-06T19:41:36Z
Last change time
2022-12-06T13:47:29Z
Keywords
pull
Assigned to
No Owner
Creator
Jason King
Blocks
8859

Comments

Comment #0 by jason.brian.king — 2014-07-06T19:41:36Z
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.
Comment #1 by jason.brian.king — 2014-07-06T20:08:44Z