[dpdk-dev] Printfs in Signal Handler

prateekag prateekag at cse.iitb.ac.in
Tue Dec 1 04:39:53 CET 2020


printf is not signal safe and may lead to deadlock if kept in signal handler 
and
signal comes in two quick succession. It will not lead to incorrect behavior 
and it is a highly unlikely event. And an expert may understand why this 
issue happened. Is it worthwhile to change these printfs to unix I/O write 
call?

Prateek Agarwal


More information about the dev mailing list