On Sun, 13 Dec 2020 22:24:37 +0200, Tal Shnaiderman wrote: > Add the following functions to the pthread shim implementation > for Windows as they are needed for thread safe rte_flow functions. > > pthread_key_create. > pthread_key_delete. > pthread_getspecific. > pthread_setspecific. > > Signed-off-by: Tal Shnaiderman <tal...@nvidia.com> > --- > v2: fix style issues > --- > lib/librte_eal/windows/include/pthread.h | 43 > ++++++++++++++++++++++++++++++++ > 1 file changed, 43 insertions(+)
It's been planned to remove the shim, not to extend it; and to introduce a generic threading API in EAL. Why not start with these functions? It's quite an isolated set.