开发者

kill is unsafe respect to signals - any alternative?

开发者 https://www.devze.com 2023-03-26 16:08 出处:网络
I read that kill is unsafe respect to signals here. What else should I use if I want to kill 开发者_StackOverflow中文版child process as part of clean up inside my signal handler? What are my alterna

I read that kill is unsafe respect to signals here.

What else should I use if I want to kill 开发者_StackOverflow中文版child process as part of clean up inside my signal handler? What are my alternatives?


You've misread, that page says that kill() (and everything else in the table) shall be async-signal-safe. anything not in the table is to be considered unsafe.

0

精彩评论

暂无评论...
验证码 换一张
取 消