Re: [dpdk-dev] [PATCH v3 1/2] eal: simplify the implementation of rte_ctrl_thread_create
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2021-08-30 16:45:00
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2021-08-30 16:45:00
On Mon, 30 Aug 2021 11:34:12 -0500 Honnappa Nagarahalli [off-list ref] 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.