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