eal: ignore failure of naming a control thread
authorDariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Tue, 10 Jul 2018 10:44:45 +0000 (12:44 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 12 Jul 2018 22:25:17 +0000 (00:25 +0200)
commit368a91d6bdc8225c585044b4e7debcd3e5fdc0d4
treece294356ed34acbf237b7b8c4207cf7da379d9df
parent6c0fb7547b32ac29336ed21f21be5a306248af99
eal: ignore failure of naming a control thread

The error is not fatal and we can physically continue
creating the thread. It simply won't have a name.

If rte_thread_setname() fails, we will just print
a debug log now. EAL does the same for lcore threads.

Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
Reviewed-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_eal/common/eal_common_thread.c