From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 0/2] Add 'try' semantics for RD and WR locking Date: Wed, 19 Dec 2018 20:53:46 +0100 Message-ID: <3481209.vObtn9zYqZ@xps> References: <1542130061-3702-1-git-send-email-konstantin.ananyev@intel.com> <1545242837-28585-1-git-send-email-konstantin.ananyev@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, honnappa.nagarahalli@arm.com, gavin.hu@arm.com To: Konstantin Ananyev Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id B43081B598 for ; Wed, 19 Dec 2018 20:53:49 +0100 (CET) In-Reply-To: <1545242837-28585-1-git-send-email-konstantin.ananyev@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 19/12/2018 19:07, Konstantin Ananyev: > Introduce rte_rwlock_read_trylock() and rte_rwlock_write_trylock() > and new UT test-case for it. > > v1 -> v2 > Changes per Honnappa and Gavin comments: > - remove cycle in rte_rwlock_write_trylock() > - remove static inline functions from .map file > - update comments > > Konstantin Ananyev (2): > rwlock: introduce 'try' semantics for RD and WR locking > test: add new test-cases for rwlock autotest > > .../common/include/generic/rte_rwlock.h | 56 +++ > test/test/test_rwlock.c | 409 +++++++++++++++++- > 2 files changed, 446 insertions(+), 19 deletions(-) Applied, thanks