7 Mar
2025
7 Mar
'25
9:28 a.m.
Rémi Bernon (@rbernon) commented about server/thread.c:
thread->wait_fd = NULL; thread->state = RUNNING; thread->exit_code = 0; - thread->priority = 0; + thread->base_priority = 0;
I don't think `base_priority` makes anything clearer. https://learn.microsoft.com/en-us/windows/win32/procthread/scheduling-priori... uses that term for the absolute values, which is not what this is. Event though the ntdll constant cannot be changed, I think we should maybe use `priority_level` instead to describe the class-relative priority everywhere we can. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7516#note_97072