Re: Syscall kill() can send signal to thread ID

Florian Weimer
2022-09-23T07:53:50Z

> I don't quite understand what you mean, sorry. But if kill() returns
> -ESRCH for tid which is not equal to tgid, kill() can only send signal
> to thread group via main thread id, that is what BSD did and manual
> said. It seems not odd?

It's still odd because there's one TID per process that's valid for
kill by accident. That's all.

Thanks,
Florian