From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id F2A60A0350;
	Tue, 30 Jun 2020 01:09:36 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id D182B1BEE6;
	Tue, 30 Jun 2020 01:09:35 +0200 (CEST)
Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com
 [66.111.4.221]) by dpdk.org (Postfix) with ESMTP id D24051BEE3
 for <dev@dpdk.org>; Tue, 30 Jun 2020 01:09:34 +0200 (CEST)
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47])
 by mailnew.nyi.internal (Postfix) with ESMTP id 1421A5803F0;
 Mon, 29 Jun 2020 19:09:34 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute7.internal (MEProxy); Mon, 29 Jun 2020 19:09:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding:content-type; s=fm1; bh=
 VPWOZjtMgZffvcr7U8FC7oQTnoVBdr9GIo4cxOWIcrA=; b=c4pX7wgAO2YSssmB
 yYUG7HxioJ728IAm+tvyFvz/Nkgh1MwlyFNCwaCkZcowJz5FuCS/yHX2FW+A5Iwm
 bCbD4kg0KOnUNdb4BZkQ178xPwai2VThVM3i/nOCbDDkYZg+sVyk+14MoBQStvV+
 taK3xB5KpskYraKUERbW6FOFgQ/Dt0fxgXd49z56quRFWmSf3UKD6dutbbaiq/Uu
 IXfV/BqBmde+oStCXlGPOXzftpiyeMgwX3nso+ufGT7V7YetbK0HSsWfQ1EPTQpy
 Ze8fWNbobJ5H4KTTvRi0fFg6joW3bVlff3Tc9zl/k+JolY86iiF+ssfeZEKbucqN
 T77Z6w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm3; bh=VPWOZjtMgZffvcr7U8FC7oQTnoVBdr9GIo4cxOWIc
 rA=; b=mqksiFGGefFGXJfRzW5RbDea730isdPnu6iusRvACAcJNSg6TSFiinX0h
 CjkLriFBvmzuc8/m8TMWtWDTsPjMWH6pOA3yneYJWEENVVEyzqn+4sg/BM24hHjQ
 PChr53D7TAKMsvQuZ9GRSY4pngOnhsppFWCTCNNIJ1gNmutDKsRvmJPKYHDPFliP
 tQDDvgD/ldion6sg0ssvVot5k6NtkxXitVrqa6G/eQJ23koRATkIkQ3P2eSO5jkh
 xpm56TJXIJ/k1u+7PrlNvJapH2Cej1Xqa58pWyqYtydj8/+wgmz8IgFqhGoLv7Z9
 HfsZZ8UcE9g2qODFnLq1mJH8Rk/dA==
X-ME-Sender: <xms:rXT6XhkqFHsQ3xMuNrhz_w0NM1ewL9QN03ZI5Oeg7S1oZioRzu09Ug>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrvddttddgudekucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg
 ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu
 ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf
 hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl
 ohhnrdhnvght
X-ME-Proxy: <xmx:rXT6Xs1-akrCLnBoX8ub1IyQVaO5GqM06c-6Y-oK2MaeqgEwTA8hOg>
 <xmx:rXT6XnqDoP_oNoWKBpOKz-iLQljRBYarpkeuViS25tKRdxS8sQwSKA>
 <xmx:rXT6XhkD01I4fdlelxADzRAYB73B17V-3ohF7fJHd0iI4w-CrwQq5w>
 <xmx:rnT6XklWVQFIejniIeLV8KMLPOvGUEAhSUOP4cyvSrP9yq-6RlP_XQ>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id 3C7123280060;
 Mon, 29 Jun 2020 19:09:32 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Tasnim Bashar <tbashar@mellanox.com>
Cc: dev@dpdk.org, harini.ramakrishnan@microsoft.com, pallavi.kadam@intel.com,
 ranjit.menon@intel.com, ocardona@microsoft.com, navasile@linux.microsoft.com,
 dmitry.kozliuk@gmail.com, talshn@mellanox.com, fady@mellanox.com,
 ophirmu@mellanox.com
Date: Tue, 30 Jun 2020 01:09:30 +0200
Message-ID: <2026617.TTespkWdlz@thomas>
In-Reply-To: <20200625192539.31964-1-tbashar@mellanox.com>
References: <20200624231041.5304-1-tbashar@mellanox.com>
 <20200625192539.31964-1-tbashar@mellanox.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH v5] eal/windows: fix thread handle
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
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
Sender: "dev" <dev-bounces@dpdk.org>

25/06/2020 21:25, Tasnim Bashar:
> Casting thread ID to handle is not accurate way to get thread handle.
> Need to use OpenThread function to get thread handle from thread ID.
> 
> pthread_setaffinity_np and pthread_getaffinity_np functions
> for Windows are affected because of it.
> 
> Signed-off-by: Tasnim Bashar <tbashar@mellanox.com>

Applied, thanks