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.
https://github.com/D-Programming-Language/druntime/pull/871