From: Marc-Aurel Zent <mzent(a)codeweavers.com> This is needed for Mach based thread priorities to take effect, since before that the process port was not known. --- server/process.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/process.c b/server/process.c index 1e48cc43014..eb651a34594 100644 --- a/server/process.c +++ b/server/process.c @@ -1440,6 +1440,8 @@ DECL_HANDLER(init_process_done) process->start_time = current_time; init_process_tracing( process ); + /* Re-apply all thread priorities here, after process tracing is initialized */ + set_process_priority( process, process->priority ); generate_startup_debug_events( process ); set_process_startup_state( process, STARTUP_DONE ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7317