[PATCH 1/2] wineserver: Implement thread priorities on Unix with sched_setscheduler / setpriority
Dmitry Timoshkov
dmitry at baikal.ru
Wed Jul 3 05:03:15 CDT 2019
RĂ©mi Bernon <rbernon at codeweavers.com> wrote:
> diff --git a/configure b/configure
> index 3b6d744c391..e89be467e2e 100755
> --- a/configure
> +++ b/configure
There is no need to include a diff for auto-generated file.
> + if (thread->process->priority == PROCESS_PRIOCLASS_REALTIME)
> + {
> +#ifdef HAVE_SCHED_SETSCHEDULER
> + struct sched_param param;
> + if (sched_getparam( thread->unix_tid, ¶m ) != 0)
> + goto error;
This 'goto' is useless.
--
Dmitry.
More information about the wine-devel
mailing list