On 01/26/17 17:26, Joe Savage wrote:
>>> we used MAX_WORKERS before odp_cpumask_default_worker() was implemented,
>>> after that we did not rewrite old example. I think it's better to have
>>> less defines in code.
>>
>> Ok, will do.
> 
> Actually, scratch that. MAX_WORKERS is also used allocate the correct number
> of elements in the threads and thread_stats arrays, and I think that keeping
> around the define is probably cleaner than dealing with the dynamic memory
> allocation for code in the "example" directory.
> 

ok, you can leave it.

Maxim.

Reply via email to