Hi Dmitry,
> -Original Message-
> From: Dmitry Kozlyuk
> Sent: Sunday, September 27, 2020 11:57 PM
> To: Suanming Mou
> Cc: Narcisa Ana Maria Vasile ; Dmitry Malloy
> ; Pallavi Kadam ;
> dev@dpdk.org
> Subject: Re: [PATCH 1/2] eal/windows: add pthread mutex lock
>
> Hi Suanming,
>
> Th
Hi Suanming,
There's a remark in patch 2/2 and cover letter:
> If no lock contention
> with the added rte flow level mutex, the mutex only does the atomic
> increasing in pthread_mutex_lock() and decreasing in
> pthread_mutex_unlock(). No futex() syscall will be involved.
Is this property import
Add pthread mutex lock as it is needed for the thread safe rte flow
functions.
Signed-off-by: Suanming Mou
---
lib/librte_eal/windows/include/pthread.h | 46
1 file changed, 46 insertions(+)
diff --git a/lib/librte_eal/windows/include/pthread.h
b/lib/librte_eal
3 matches
Mail list logo