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 8BA07A09EF; Tue, 15 Dec 2020 23:36:57 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 68C49CA74; Tue, 15 Dec 2020 23:36:56 +0100 (CET) Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) by dpdk.org (Postfix) with ESMTP id DA89BCA6E for ; Tue, 15 Dec 2020 23:36:53 +0100 (CET) Received: by mail-lf1-f65.google.com with SMTP id s26so8850277lfc.8 for ; Tue, 15 Dec 2020 14:36:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=39XhR47yHxAYXz98FQBx2waSu/oVk7RoxaZs7qfBo+E=; b=ssmvi0oPL0ZKdCXt0Fj/3LGmHbh6TRVsFUdOqTuk86hqTwYTcEDcCpwy/XixbhVqS5 yiFXK72XUXEtJCw+pU5Hck0uUfGdkzFAcxDqz0X+Illq+pYwrJPfhIr5KUIIYrSMDwvd c/noLDUPMqDuE2n7ypBdXAK5dXwVV4WsHhXAIM3Fr1gXLgTrKYQPbhViBuXJY3umEhoT gSf6sokmDvi/n663YrVsCJWTaxGDG+G+Cp7V5xRHfReW/g/3v7U4TAwsPGFmSQzmy6kI ccI1HnL4G3MVoGR6ATWSNbfftFcEcFXAcA4Cs3vgKvOsF1vpDkH9eM/venjlz1K+lDPp pwIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=39XhR47yHxAYXz98FQBx2waSu/oVk7RoxaZs7qfBo+E=; b=kq2fDDSLSQnsDHCsFRa8gHN1rVoMrx+9gJr3M5DIeJ/GtGrGz1RNZKp/XPYd0OVMm6 rKiod6sd2c/N5x+nDDROwNtOtLwols1MKNNT16UioW+t78ie6rlGnwlXLgwAWboQuuee HXt1nnCVm3XByY2Etim5EDyKlvB9uP/G5j39vJl2wYrdXI+y2MhqTPpdJC3vJyhdH7Nd 7/UwEKZX6H7X2r/ET+tnPav9v9FZyqp2dgm/otAP2xV5j0uSSpOAP8ZfJd/HIk7xABdP xoFmMsGNXkBhy+aTlJp3c/45OjAvDB8jXHtlkpGQptNQYCnOYhwVtW8MEoyN24pj4h8e ag2A== X-Gm-Message-State: AOAM531f8sXASIdjtHYkCfUeD1iEovXyfCTdFarE9K8w7xhh8j/qN1Ln ozpsMJhpzHp4DM6SX3XfJOU= X-Google-Smtp-Source: ABdhPJwLfT8/6Oj85I/F4bRZptwTnVV+fXmw/sKjoeXM2LapxrY90aBccCXnMkkYmRwqVy8Z1I49mg== X-Received: by 2002:a19:8112:: with SMTP id c18mr11895963lfd.455.1608071813470; Tue, 15 Dec 2020 14:36:53 -0800 (PST) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id w13sm14781ljw.28.2020.12.15.14.36.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Dec 2020 14:36:52 -0800 (PST) Date: Wed, 16 Dec 2020 01:36:51 +0300 From: Dmitry Kozlyuk To: Tal Shnaiderman Cc: dev@dpdk.org, thomas@monjalon.net, pallavi.kadam@intel.com, navasile@linux.microsoft.com, dmitrym@microsoft.com Message-ID: <20201216013651.7d0a23a2@sovereign> In-Reply-To: <20201213202437.12880-1-talshn@nvidia.com> References: <20201213202437.12880-1-talshn@nvidia.com> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] eal/windows: add pthread TLS function support 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 Sun, 13 Dec 2020 22:24:37 +0200, Tal Shnaiderman wrote: > Add the following functions to the pthread shim implementation > for Windows as they are needed for thread safe rte_flow functions. > > pthread_key_create. > pthread_key_delete. > pthread_getspecific. > pthread_setspecific. > > Signed-off-by: Tal Shnaiderman > --- > v2: fix style issues > --- > lib/librte_eal/windows/include/pthread.h | 43 ++++++++++++++++++++++++++++++++ > 1 file changed, 43 insertions(+) It's been planned to remove the shim, not to extend it; and to introduce a generic threading API in EAL. Why not start with these functions? It's quite an isolated set.