ThreadUtils

Thread assertion utilities.

Types

Link copied to clipboard
annotation class MainThreadOverride

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val OVERRIDE_DISABLED: Int = 0
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Try to raise the priority of {@param threadId} to the priority of the calling thread

Link copied to clipboard
fun tryRaiseThreadPriority(threadId: Int, targetThreadPriority: Int): Int

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