Cunming Liang ef76436c68 eal: get unique thread id
The rte_gettid() wraps the linux and freebsd syscall gettid().
It provides a persistent unique thread id for the calling thread.
It will save the unique id in TLS on the first time.

Signed-off-by: Cunming Liang <cunming.liang@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2015-02-24 20:22:19 +01:00
..
2015-02-24 20:22:19 +01:00
2015-02-24 20:22:19 +01:00
2015-02-24 20:22:19 +01:00
2014-11-27 13:09:51 +01:00