]> git.droids-corp.org - dpdk.git/commit
mcslock: use wait until scheme for unlock
authorFeifei Wang <feifei.wang2@arm.com>
Mon, 1 Nov 2021 06:00:05 +0000 (14:00 +0800)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 3 Nov 2021 14:50:14 +0000 (15:50 +0100)
commit4ed4e554ac015de0a2661310ea6bb48ea6e1c977
treea18bfccff4c4a41797319e463c05cc4636935f13
parent41902d2468968a8c6acb96b48e84d726bb797c8a
mcslock: use wait until scheme for unlock

Instead of polling for mcslock to be updated, use wait until scheme
for this case.

Signed-off-by: Feifei Wang <feifei.wang2@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
lib/eal/include/generic/rte_mcslock.h