[PATCH v4 8/8] eal: initialize worker threads once

Sinan Kaya okaya at kernel.org
Tue Aug 15 20:43:53 CEST 2023


On Tue, 2023-08-15 at 10:46 -0700, Stephen Hemminger wrote:
> >   static uint32_t run_once;
> > +static bool worker_initialized;
> >   
> 
> 
> I see a pattern here. Many places are using static to
> 
> only initialize once. Could you name these variables the
> 
> same; suggest using run_once everywhere.

sure, will do.



More information about the dev mailing list