1.2 KiB
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 | https://x.com/NOTimothyLottes/status/2061416116694442141 | NOTimothyLottes | NOTimothyLottes | 2061416116694442141 | 2026-06-01 | 2026-08-25 | false |
|
Windows thread priority. |
Source
- URL: https://x.com/NOTimothyLottes/status/2061416116694442141
- Author: NOTimothyLottes (@NOTimothyLottes)
- Posted: 2026-06-01 11:54:36
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?
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