[dpdk-dev] [PATCH v2 2/2] examples: sleep while waiting worker threads to terminate

Stephen Hemminger stephen at networkplumber.org
Mon Jun 12 04:38:25 CEST 2023


On Mon, 15 Oct 2018 23:21:10 +0100
Ferruh Yigit <ferruh.yigit at intel.com> wrote:

> This is to prevent sample applications to do busy wait while waiting for
> worker threads to terminate. Should save cycles on master core.
> By default a 1ms wait interval used.
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>

This is not a bad idea, and it might make shutdown faster in some cases.
But it looks like it never made it farther along in 5 years.
Will mark it as rejected, but it would be good to have better lcore/thread
shutdown; if someone wants to work more on it, would be a good project.


More information about the dev mailing list