Re: [dpdk-dev] [PATCH v1 2/2] mcslock: use wait until equal API for tight loop

2021-10-19 Thread David Marchand
On Wed, Aug 25, 2021 at 10:02 AM Feifei Wang wrote: > > Instead of polling for previous lock holder unlocking, use > wait_until_equal API. > > Signed-off-by: Feifei Wang > Reviewed-by: Ruifeng Wang > --- > lib/eal/include/generic/rte_mcslock.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 dele

[dpdk-dev] [PATCH v1 2/2] mcslock: use wait until equal API for tight loop

2021-08-25 Thread Feifei Wang
Instead of polling for previous lock holder unlocking, use wait_until_equal API. Signed-off-by: Feifei Wang Reviewed-by: Ruifeng Wang --- lib/eal/include/generic/rte_mcslock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/eal/include/generic/rte_mcslock.h b/lib/ea