Files
Threadwell/archive/threads/NOTimothyLottes/2026-06-01-windows-thread-priority/index.md
T
2026-08-25 16:26:52 -04:00

1.2 KiB

title, type, source, source_url, author, handle, post_id, date, archived, draft, tags, description, in_reply_to
title type source source_url author handle post_id date archived draft tags description in_reply_to
Windows thread priority. archive twitter https://x.com/NOTimothyLottes/status/2061416116694442141 NOTimothyLottes NOTimothyLottes 2061416116694442141 2026-06-01 2026-08-25 false
archive
twitter
NOTimothyLottes
Windows thread priority.

Source

Thread

1/ @NOTimothyLottes ^2061416116694442141

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?

Branches: archive/threads/NOTimothyLottes/2026-06-01-windows-thread-priority/2026-06-02-iamwhosiam-i-dont-think-your-even-suppose-to-change-your

2/ @NOTimothyLottes ^2061416572627886473

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