Files

34 lines
1.4 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
← [Back to Twitter thread index](../README.md)
---
title: "Windows thread priority. SeIncreaseBasePriorityPrivilege required to play in the"
author: "NOTimothyLottes"
handle: "@NOTimothyLottes"
post_url: "https://x.com/NOTimothyLottes/status/2061416116694442141"
post_id: "2061416116694442141"
timestamp: "2026-06-01 11:54:36"
post_count: 4
reply_count: 2
repost_count: 0
like_count: 10
view_count: 1196
---
# @NOTimothyLottes — Windows thread priority. SeIncreaseBasePriorityPrivilege required to play in the
## Post 1 (2026-06-01 11:54:36)
Windows thread priority. SeIncreaseBasePriorityPrivilege required to play in the (fake)"Realtime" class -BUT- apparently there is AvSetMmThreadCharacteristics() for "Pro Audio" and AvSetMmThreadPriority() which can bring up priority into realtime. Curious if games using today?
## Post 2 (2026-06-01 11:56:24) — reply to Post 1
Either way NtSetInformationThread() seems to be the way to just set {1-15} (non-realtime class) priority directly without the silly clamp(priorityClassBase+threadPriority,1,15) business
## Post 3 (2026-06-02 03:59:06) — reply to Post 1
@NOTimothyLottes I dont think your even suppose to change your threads priority in general anymore, it just messes with scheduling.
## Post 4 (2026-06-02 10:32:37) — reply to Post 3
@iamwhosiam Try using low latency pro audio tools and disabling the apps authorization for high priority scheduling