From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 0A8191B586 for ; Wed, 19 Dec 2018 19:07:28 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Dec 2018 10:07:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,373,1539673200"; d="scan'208";a="111876998" Received: from sivswdev08.ir.intel.com (HELO localhost.localdomain) ([10.237.217.47]) by orsmga003.jf.intel.com with ESMTP; 19 Dec 2018 10:07:26 -0800 From: Konstantin Ananyev To: dev@dpdk.org Cc: Konstantin Ananyev Date: Wed, 19 Dec 2018 18:07:15 +0000 Message-Id: <1545242837-28585-1-git-send-email-konstantin.ananyev@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1542130061-3702-1-git-send-email-konstantin.ananyev@intel.com> References: <1542130061-3702-1-git-send-email-konstantin.ananyev@intel.com> Subject: [dpdk-dev] [PATCH v2 0/2] Add 'try' semantics for RD and WR locking X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2018 18:07:29 -0000 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(-) -- 2.17.1