[dpdk-dev] [PATCH v5 1/2] eal/windows: add pthread mutex lock

Narcisa Ana Maria Vasile navasile at linux.microsoft.com
Thu Oct 15 04:22:32 CEST 2020


On Thu, Oct 15, 2020 at 09:07:46AM +0800, Suanming Mou wrote:
> Add pthread mutex lock as it is needed for the thread safe rte_flow
> functions.
> 
> Signed-off-by: Suanming Mou <suanmingm at nvidia.com>
> Tested-by: Tal Shnaiderman <talshn at nvidia.com>
> Acked-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
> Acked-by: Ranjit Menon <ranjit.menon at intel.com>
> ---
> 
> v5:
>  - Remove PTHREAD_MUTEX_INITIALIZER macro added in v4.
> 
> v4:
>  - Add PTHREAD_MUTEX_INITIALIZER macro.
> 
> v3:
>  - No updates.
> 
> v2:
>  - Using critical section for windows pthread mutex.
> 
> ---
> 
>  lib/librte_eal/windows/include/pthread.h | 33 ++++++++++++++++++++++++++++++++
>  1 file changed, 33 insertions(+)
> 

Acked-by: Narcisa Vasile <navasile at linux.microsoft.com>


More information about the dev mailing list