On Wed, 27 Jan 2021 10:25:15 +0000
Ruifeng Wang <ruifeng.w...@arm.com> wrote:

> > -----Original Message-----
> > From: dev <dev-boun...@dpdk.org> On Behalf Of Stephen Hemminger
> > Sent: Friday, January 15, 2021 1:35 AM
> > To: dev@dpdk.org
> > Cc: Stephen Hemminger <step...@networkplumber.org>
> > Subject: [dpdk-dev] [PATCH v1] eal: add ticket based reader writer lock
> > 
> > This patch implements a reader/writer ticket lock.
> > This lock type acts like rte_rwlock() but uses a ticket algorithm and are 
> > fair for
> > multiple writers and readers.
> > Writers have  priority over readers.  
> 
> The lock is ticket based to be fair. So writers should have no priority?


Read the articles referenced in the code.
The naming matches what the original MCS paper called it.

Reply via email to