[PATCH] Cygwin: sched_setscheduler: allow changes of the priority

2024-11-23 Thread Christian Franke
sched_setscheduler(pid, sched_getscheduler(pid), param) should behave like sched_setparam(pid, param). -- Regards, Christian From a67e6679cc2bb199713b1f783d5219cb8364f5f4 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Sat, 23 Nov 2024 19:50:29 +0100 Subject: [PATCH] Cygwin: sched_setsche

[PATCH] Cygwin: revert use of CancelSyncronousIo on wait_thread.

2024-11-23 Thread Jeremy Drake via Cygwin-patches
From: Jeremy Drake It appears this is causing hangs on native x86_64 in similar scenarios as the hangs on ARM64, because `CancelSynchronousIo` is returning `TRUE` but not canceling the `ReadFile` call as expected. Addresses: https://github.com/msys2/MSYS2-packages/issues/4340#issuecomment-24914