tryRaiseThreadPriority

fun tryRaiseThreadPriority(threadId: Int, targetThreadPriority: Int): Int

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

Return

the original thread priority of the target thread.