From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 946A6428BF;
	Mon,  3 Apr 2023 17:03:09 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 3780E40ED7;
	Mon,  3 Apr 2023 17:03:09 +0200 (CEST)
Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182])
 by mails.dpdk.org (Postfix) with ESMTP id EE57540A7E
 for <dev@dpdk.org>; Mon,  3 Apr 2023 17:03:07 +0200 (CEST)
Received: by linux.microsoft.com (Postfix, from userid 1086)
 id 38995210CB25; Mon,  3 Apr 2023 08:03:07 -0700 (PDT)
DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 38995210CB25
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;
 s=default; t=1680534187;
 bh=hh2KOEB4o7gmOLiQqO2euXcfGVpmADpdh62hZwDDN+A=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
 b=pv/LrbTivZ5tvZN3iNXA/PxvHuSfmrFqvuZ6eU5wtQTtPSP+WrgCJM/yliVr3rmdW
 fhMAiKEsguD34OSC+0yjJMdFuYr38gu52F+1/k15xoU2NJGogODZlhhetrKy8dMD53
 9ClMKYSmKBH9yjx2teCbgpWvEtgb6IiulkoeRxA8=
Date: Mon, 3 Apr 2023 08:03:07 -0700
From: Tyler Retzlaff <roretzla@linux.microsoft.com>
To: David Marchand <david.marchand@redhat.com>
Cc: dev@dpdk.org, Thomas Monjalon <thomas@monjalon.net>,
 =?iso-8859-1?Q?Ga=EBtan?= Rivet <grive@u256.net>
Subject: Re: [PATCH v2 00/20] Enable lock annotations on most libraries and
 drivers
Message-ID: <20230403150307.GA5613@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net>
References: <20230224081642.2566619-1-david.marchand@redhat.com>
 <20230224151143.3274897-1-david.marchand@redhat.com>
 <095511d4-4fbb-47a8-a8a5-f2a3b932c01f@app.fastmail.com>
 <CAJFAV8w_aPsQr4eg1RNph+1umqa9SKXyvAGU-NP2gLF6=fM1yA@mail.gmail.com>
 <e17bce10-886c-4d35-8ed2-2ed9ae652b30@app.fastmail.com>
 <CAJFAV8yoWU2zmH09nkPCMPKh6kvryUmiQPjhaDLz4DzH9DpQqQ@mail.gmail.com>
 <CAJFAV8wCSL1DgQhLS81zfZocop5DHNg1mz-1peepzRGsH2YKHg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAJFAV8wCSL1DgQhLS81zfZocop5DHNg1mz-1peepzRGsH2YKHg@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

On Mon, Apr 03, 2023 at 12:52:06PM +0200, David Marchand wrote:
> Hello Tyler,
> 
> On Thu, Mar 2, 2023 at 9:52 AM David Marchand <david.marchand@redhat.com> wrote:
> > On Mon, Feb 27, 2023 at 5:13 PM Gaëtan Rivet <grive@u256.net> wrote:
> > > Ah ok, so if I understand correctly, DPDK would need to declare some
> > > '__rte_lockable rte_mutex' and associated functions for transparent support,
> > > to wrap above the pthread API.
> >
> > Yes, this is what I had in mind for the mid/long term but it was too
> > late for 23.03 after -rc1.
> >
> > The Windows porting effort will probably need this abstraction too as
> > we are trying to stop relying on the pthread API.
> > I don't see this item in Microsoft roadmap, though.
> 
> Do you have an opinion on this topic?

Sorry David I got distracted I'll review the thread again.  I think with
Windows toolsets we left off with expanding empty for now?

Anyway, I'll take another pass today if I get a chance.

> 
> Thanks.
> 
> -- 
> David Marchand