intel / thermal_daemon

Thermal daemon for IA
GNU General Public License v2.0
540 stars 117 forks source link

cthd_engine::giveup_thermal_control is not signal safe #361

Closed benzea closed 2 years ago

benzea commented 2 years ago

This is indirectly called by the signal handler:

I don't really get the signal handling code though, why sleep for 1 second? Is that assuming that a different thread is still running and the mainloop can continue to work?