> > > + * try to take a write lock.
> > > + *
> > > + * @param rwl
> > > + * A pointer to a rwlock structure.
> > > + * @return
> > > + * - zero if the lock is successfully taken
> > > + * - -EBUSY if lock could not be acquired for writing because
> > > + * it was already locked for re
>
> >
> > This patch targets 19.02 release.
> >
> > Introduce rte_rwlock_read_trylock() and rte_rwlock_write_trylock().
> > Signed-off-by: Konstantin Ananyev
> > ---
> > .../common/include/generic/rte_rwlock.h | 54 +++
> > lib/librte_eal/rte_eal_version.map| 2
nt: Wednesday, December 19, 2018 10:28 AM
> > > To: Honnappa Nagarahalli ; Ananyev,
> > > Konstantin ; dev@dpdk.org
> > > Cc: nd ; Gavin Hu (Arm Technology China)
> > > Subject: Re: [dpdk-dev] [PATCH 1/2] rwlock: introduce 'try' semantic
Konstantin ; dev@dpdk.org
> > Cc: nd ; Gavin Hu (Arm Technology China)
> > Subject: Re: [dpdk-dev] [PATCH 1/2] rwlock: introduce 'try' semantics for
> > RD and WR locking
> >
> > On 2018-12-19 07:37, Honnappa Nagarahalli wrote:
> > >> dif
v] [PATCH 1/2] rwlock: introduce 'try' semantics for RD
> and WR locking
>
> On 2018-12-19 07:37, Honnappa Nagarahalli wrote:
> >> diff --git a/lib/librte_eal/rte_eal_version.map
> >> b/lib/librte_eal/rte_eal_version.map
> >> index 3fe78260d..8b1593dd8
On 2018-12-19 07:37, Honnappa Nagarahalli wrote:
diff --git a/lib/librte_eal/rte_eal_version.map
b/lib/librte_eal/rte_eal_version.map
index 3fe78260d..8b1593dd8 100644
--- a/lib/librte_eal/rte_eal_version.map
+++ b/lib/librte_eal/rte_eal_version.map
@@ -355,6 +355,8 @@ EXPERIMENTAL {
rte_
> -Original Message-
> From: Honnappa Nagarahalli
> Sent: Wednesday, December 19, 2018 2:38 PM
> To: Konstantin Ananyev ; dev@dpdk.org
> Cc: nd ; Honnappa Nagarahalli
> ; Gavin Hu (Arm Technology China)
> ; nd
> Subject: RE: [dpdk-dev] [PATCH 1/2] rwlock: intro
>
> This patch targets 19.02 release.
>
> Introduce rte_rwlock_read_trylock() and rte_rwlock_write_trylock().
> Signed-off-by: Konstantin Ananyev
> ---
> .../common/include/generic/rte_rwlock.h | 54 +++
> lib/librte_eal/rte_eal_version.map| 2 +
> 2 files cha
This patch targets 19.02 release.
Introduce rte_rwlock_read_trylock() and rte_rwlock_write_trylock().
Signed-off-by: Konstantin Ananyev
---
.../common/include/generic/rte_rwlock.h | 54 +++
lib/librte_eal/rte_eal_version.map| 2 +
2 files changed, 56 insertions
9 matches
Mail list logo