eal/windows: support thread ID query
authorTasnim Bashar <tbashar@mellanox.com>
Thu, 21 May 2020 00:32:53 +0000 (17:32 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 11 Jun 2020 14:40:29 +0000 (16:40 +0200)
commit482bcf840409503c2b9da56941e5ff6566d51e45
treec494e87a15ddb133f3223750c472da6d1b2e4c47
parent4887a7e23484ed7fbba3af1d3d2bd2a2bf347993
eal/windows: support thread ID query

Add rte_sys_gettid function to use rte_gettid() on Windows.
rte_gettid() is required for recursive spin lock and recursive ticket lock.

Signed-off-by: Tasnim Bashar <tbashar@mellanox.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
lib/librte_eal/windows/eal_thread.c