19 Feb
2025
19 Feb
'25
11:39 a.m.
From: Marc-Aurel Zent <mzent(a)codeweavers.com> --- server/mach.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/mach.c b/server/mach.c index c3d4a33bdc2..0472e7a6701 100644 --- a/server/mach.c +++ b/server/mach.c @@ -155,6 +155,9 @@ void init_process_tracing( struct process *process ) mach_port_deallocate( mach_task_self(), msg.task_port.name ); } } + /* On Mach thread priorities depend on having the process port available, so + * reapply all thread priorities here after process tracing is initialized */ + set_process_priority( process, process->priority ); } /* terminate the per-process tracing mechanism */ -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7317