kill is unsafe respect to signals - any alternative?
Asked Answered
U

1

0

I read that kill is unsafe respect to signals here.

What else should I use if I want to kill child process as part of clean up inside my signal handler? What are my alternatives?

Unwell answered 7/8, 2011 at 6:39 Comment(1)
where did you read that kill is unsafe? and what do you mean by unsafe?Osithe
F
2

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.

Fascine answered 7/8, 2011 at 6:45 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.