[dpdk-dev] [PATCH v3 1/2] eal: simplify the implementation of rte_ctrl_thread_create
Stephen Hemminger
stephen at networkplumber.org
Mon Aug 30 18:44:53 CEST 2021
On Mon, 30 Aug 2021 11:34:12 -0500
Honnappa Nagarahalli <honnappa.nagarahalli at arm.com> wrote:
> + /* Control thread status.
> + *
> + * _RTE_CTRL_THREAD_LAUNCHING - Yet to call pthread_create function
> + * _RTE_CTRL_THREAD_RUNNING - Control thread is running successfully
> + * _RTE_CTRL_THREAD_ERROR - Control thread encountered an error.
> + * 'ret' has the error code.
> + */
> + unsigned int ctrl_thread_status;
An enum would be clearer here.
More information about the dev
mailing list