D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 13058 - Thread priority handling doesn't work in Solaris
Summary: Thread priority handling doesn't work in Solaris
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: druntime (show other issues)
Version: D2
Hardware: x86 Solaris
: P1 normal
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks: 8859
  Show dependency treegraph
 
Reported: 2014-07-06 19:41 UTC by Jason King
Modified: 2022-12-06 13:47 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Jason King 2014-07-06 19:41:36 UTC
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.