tryRaiseThreadPriority

fun tryRaiseThreadPriority(threadId: Int, targetThreadPriority: Int): Pair<Int, Int>

Try to raise the priority of {@param threadId} to {@param targetThreadPriority}.

Return

a Pair containing the original thread priority and the final thread priority that was set.