7 Mar
2025
7 Mar
'25
9:28 a.m.
Rémi Bernon (@rbernon) commented about server/thread.c:
int min = -nice_limit, max = nice_limit, range = max - min, niceness;
/* FIXME: handle realtime priorities using SCHED_RR if possible */ - if (effective_priority > THREAD_BASE_PRIORITY_LOWRT) effective_priority = THREAD_BASE_PRIORITY_LOWRT; + if (effective_priority >= LOW_REALTIME_PRIORITY) effective_priority = LOW_REALTIME_PRIORITY - 1;
And this probably squashed with the `effective_priority` renames. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7516#note_97074