SIGKILL may no longer work after many SIGCONT/SIGSTOP signals

Takashi Yano takashi.yano@nifty.ne.jp
Sat Nov 23 15:41:15 GMT 2024


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...

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>


More information about the Cygwin mailing list