SIGKILL may no longer work after many SIGCONT/SIGSTOP signals
Takashi Yano
takashi.yano@nifty.ne.jp
Sat Nov 23 16:13:32 GMT 2024
On Sun, 24 Nov 2024 00:41:15 +0900
Takashi Yano via Cygwin <cygwin@cygwin.com> wrote:
> On Sat, 23 Nov 2024 20:53:07 +0900
> Takashi Yano wrote:
> > The patch attached almost solves the problem. However, your test
> > case is paused for tens of seconds, then ends normally.
> >
> > If the code:
> > cpu_set_t cpus; CPU_ZERO(&cpus);
> > CPU_SET(0, &cpus);
> > if (sched_setaffinity(getpid(), sizeof(cpus), &cpus))
> > perror("setaffinity");
>
> Maybe it's just slow because all processes are assigned to one CPU core.
> I feel like it's too late for that...
^^^^ slow
--
Takashi Yano <takashi.yano@nifty.ne.jp>
More information about the Cygwin
mailing list