From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 31722A04DB; Thu, 15 Oct 2020 04:22:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BC4D91DBA0; Thu, 15 Oct 2020 04:22:34 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by dpdk.org (Postfix) with ESMTP id BF29A1DA31 for ; Thu, 15 Oct 2020 04:22:32 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1059) id 13E2D20B4905; Wed, 14 Oct 2020 19:22:32 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 13E2D20B4905 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1602728552; bh=+mtYgHcHOSdv4yqi/wsVYBd+GpfTw+BVUFAEimWcq70=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hQzs7L11uPItCRW4g+7udJYPm7RqFp039E/6jtCJriMf7ELMAN1VNRS6gkdK8hkjL gAuf+tWza1fops1JlZuMFXBz5MqLEhJ9Lu1Ea2HKjvYmsyrasfQNle0U81x2UDPiak /MIawDXggdnovB/d0iAP+f9PZ3SIUP6aLUct+MPU= Date: Wed, 14 Oct 2020 19:22:32 -0700 From: Narcisa Ana Maria Vasile To: Suanming Mou Cc: Dmitry Kozlyuk , Dmitry Malloy , Pallavi Kadam , dev@dpdk.org, thomas@monjalon.net Message-ID: <20201015022232.GA24580@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <1601194817-208834-1-git-send-email-suanmingm@nvidia.com> <1602724067-390536-1-git-send-email-suanmingm@nvidia.com> <1602724067-390536-2-git-send-email-suanmingm@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1602724067-390536-2-git-send-email-suanmingm@nvidia.com> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [dpdk-dev] [PATCH v5 1/2] eal/windows: add pthread mutex lock 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Oct 15, 2020 at 09:07:46AM +0800, Suanming Mou wrote: > Add pthread mutex lock as it is needed for the thread safe rte_flow > functions. > > Signed-off-by: Suanming Mou > Tested-by: Tal Shnaiderman > Acked-by: Dmitry Kozlyuk > Acked-by: Ranjit Menon > --- > > v5: > - Remove PTHREAD_MUTEX_INITIALIZER macro added in v4. > > v4: > - Add PTHREAD_MUTEX_INITIALIZER macro. > > v3: > - No updates. > > v2: > - Using critical section for windows pthread mutex. > > --- > > lib/librte_eal/windows/include/pthread.h | 33 ++++++++++++++++++++++++++++++++ > 1 file changed, 33 insertions(+) > Acked-by: Narcisa Vasile