eal: add error numbers in thread TLS API
authorTal Shnaiderman <talshn@nvidia.com>
Tue, 16 Mar 2021 13:28:18 +0000 (15:28 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 26 Mar 2021 08:21:05 +0000 (09:21 +0100)
commit3d2913c67c83cca05a009ebbca3d11a5586d6117
treeb02e4ef575cb1e73b7da76b3f9f3a64b85cec562
parentdefd7f5a5300b4aeee35cf17a6868fd99baad0b5
eal: add error numbers in thread TLS API

Add error number reporting to rte_errno in all
functions in the rte_thread_tls_* API.

Suggested-by: Anatoly Burakov <anatoly.burakov@intel.com>
Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
lib/librte_eal/include/rte_thread.h
lib/librte_eal/unix/rte_thread.c
lib/librte_eal/windows/rte_thread.c