[dpdk-dev] [PATCH v4 2/5] examples/multi_process: cleanup bus objects while terminating app

Stephen Hemminger stephen at networkplumber.org
Thu Jul 6 01:35:44 CEST 2023


On Thu,  8 Oct 2020 21:00:44 +0530
rohit.raj at nxp.com wrote:

> +static void
> +signal_handler(int signal)
> +{
> +	if (signal == SIGINT)
> +		rte_eal_cleanup();

NAK
Call rte_eal_cleanup in signal handler is not safe.

Need to set a flag and handle it in main code.


More information about the dev mailing list