Async‑signal-safety and why should you care

a year ago by Serpent7776 to c/c_lang

UPDATE 2025-07-25: Clarified async-signal safety in context of boost::asio::signal_set UPDATE...

I encounter memory corruption issue at work coming from a signal handler and decided to write a blog post about it. Feedback welcome.

c_lang
c_lang

@programming.dev

login for more options
1359
104
40

Welcome to the C community!

C is quirky, flawed, and an enormous success.
... When I read commentary about suggestions for where C should go, I often think back and give thanks that it wasn't developed under the advice of a worldwide crowd.
... The only way to learn a new programming language is by writing programs in it.

© Dennis Ritchie

🌐 https://en.cppreference.com/w/c

go to feed...