<snip> > > The affinity of a control thread is set after it has been launched. If > setting the > affinity fails, pthread_cancel is called followed by a call to pthread_join, > which > can hang forever if the thread's start routine doesn't call a pthread > cancellation point. > > This patch modifies the logic so that the control thread exits gracefully if > the > affinity cannot be set successfully and removes the call to pthread_cancel. > > Fixes: 6383d26 ("eal: set name when creating a control thread") > Cc: olivier.m...@6wind.com > Cc: sta...@dpdk.org > > Signed-off-by: Luc Pelletier <lucp.at.w...@gmail.com> Looks good. Reviewed-by: Honnappa Nagarahalli <honnappa.nagaraha...@arm.com>
> --- > <snip>