Ok.

On 2020-12-03 02:11, Thomas Monjalon wrote:
01/12/2020 10:24, Thomas Monjalon:
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?

I've received a private reply:
        Filenames:
                testpmd.c
                test_pmd_perf.c
                evt_main.c
                pdump/main.c
        Function name:
                signal_handler


I am OK with removing these printfs.

Do you want to do the patch with the explanation?

Reply via email to