eal: move thread affinity functions to new file
authorTal Shnaiderman <talshn@nvidia.com>
Wed, 6 Jan 2021 20:35:52 +0000 (22:35 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 11 Jan 2021 22:27:39 +0000 (23:27 +0100)
commitd136fae5604e8a5e638cc5c9f415a5c636f280c8
tree1b20b9fb408d5b1bfa0b2977079b28e2b8459abe
parentef4c16fd9148215897abadf8e8a965488c82ba03
eal: move thread affinity functions to new file

Move the definition of the functions
rte_thread_set_affinity and rte_thread_get_affinity
to new file, rte_thread.h

The file will implement generic threading functionality
and will only host threading functions which do not reference
pthread API.

Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
lib/librte_eal/include/meson.build
lib/librte_eal/include/rte_lcore.h
lib/librte_eal/include/rte_thread.h [new file with mode: 0644]