eal/windows: add pthread mutex
authorSuanming Mou <suanmingm@nvidia.com>
Thu, 15 Oct 2020 01:07:46 +0000 (09:07 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 15 Oct 2020 22:44:58 +0000 (00:44 +0200)
commit96bb99f270e6100dd11cdb11b09ad1873fe7f952
treeb4f572471cb3382fb85775ac64d611ef903bc6b8
parented94631da7b49feb68a0a9d6c780a908745d9c00
eal/windows: add pthread mutex

Add pthread mutex lock as it is needed for the thread safe rte_flow
functions.

Signed-off-by: Suanming Mou <suanmingm@nvidia.com>
Tested-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Acked-by: Ranjit Menon <ranjit.menon@intel.com>
Acked-by: Narcisa Vasile <navasile@linux.microsoft.com>
lib/librte_eal/windows/include/pthread.h