[dpdk-dev] Printfs in Signal Handler

Thomas Monjalon thomas at monjalon.net
Tue Dec 1 10:24:16 CET 2020


01/12/2020 04:39, prateekag:
> 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?

Thank you for reporting.
Please could you describe which files and functions you are talking about?




More information about the dev mailing list