From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mx.groups.io with SMTP id smtpd.web11.38496.1683393866636539711 for ; Sat, 06 May 2023 10:24:26 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bsdio.com header.s=fm1 header.b=zJeV0cjW; spf=pass (domain: bsdio.com, ip: 66.111.4.27, mailfrom: rebecca@bsdio.com) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E5A2A5C0259; Sat, 6 May 2023 13:24:25 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 06 May 2023 13:24:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1683393865; x= 1683480265; bh=O/BuFf24lDnHmWBHxeZlFWzLCUp2KMEz8/9zNLpt7QE=; b=z JeV0cjWBHRJgS3SM/qCMjUe/dic7JTrk7t/2ERGrVSF+e+yWWdl1XpaaDgbTOaIq j+Abp+bCyIwHp9jznBU1AtW+N+pMwt6BqBsrfk07AbPhLYbvEL0QKbOIcr663dJY WOWR2gRa+ZY8stLPNeZAlCDPwOHAuUwOr0ylLLe0UoEjsIJnxg7gvlI5b4MiQROO kRx9x84wvgNTNkSN3+pfD7sxmf3vNXbrjBIuMgmPf8/uN2Ip/DqwkKlrvxH6O2zA pnq2VMNmwOJzyxa9gm1ag8Diw32LUMUyag4IP41X5ReQ4xysDeldpJQxbEEQRRAy Y6rNV7LiTqdj71gaaafTA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1683393865; x= 1683480265; bh=O/BuFf24lDnHmWBHxeZlFWzLCUp2KMEz8/9zNLpt7QE=; b=G vLfUab2FmDPdhFu1eBA+8xDbOMJiy1wihmxtskYQvyEVqyYfTkHL1FOMYEilDSfW 8SHBQS6Z/W84BfqLBL2yhMQOVntSMNeB4whTxK1bT6rePXVA8zkfXFeQKd5ZL7Dg gLQ1if+5I4KdtP1lvCWMm8NJppIyD/KeAJyRnWtdxKdGTjSTPAZBa06l2OJgMyhC fK0ZjQV/OptgxazAn6bvkdkcXXcAWSFfKLrSD/EwSMInqG1vvqcM155nWUHPpaPc rv0sTAi4yRHP1MlS5pM5xhjR2Dq/vRWlGI9dnXsT4VVwHWQxTJGgaLFd69GVF7x0 YKgo4NlgdLzNYSd6YckfA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeefgedgkeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvsggv tggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrth htvghrnhepgeffueeuledvgefgvddvgfetvdduhfefkedukeeikedtudekfeetteeifedv leefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprh gvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 6 May 2023 13:24:24 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io, Andrew Fish , Leif Lindholm , Michael D Kinney , Liming Gao , Bob Feng , Yuwei Chen Cc: Rebecca Cran Subject: [PATCH v2 5/7] BaseTools: use threading.current_thread in NmakeSubdirs.py Date: Sat, 6 May 2023 11:24:00 -0600 Message-Id: <20230506172402.116-6-rebecca@bsdio.com> X-Mailer: git-send-email 2.40.0.windows.1 In-Reply-To: <20230506172402.116-1-rebecca@bsdio.com> References: <20230506172402.116-1-rebecca@bsdio.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit threading.currentThread is a deprecated alias for threading.current_thread, and causes a warning to be displayed when it's called. Update NmakeSubdirs.py to use the latter method instead. Signed-off-by: Rebecca Cran --- BaseTools/Source/C/Makefiles/NmakeSubdirs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Source/C/Makefiles/NmakeSubdirs.py b/BaseTools/Source/C/Makefiles/NmakeSubdirs.py index 1f4a45004f4b..7860c040afa0 100644 --- a/BaseTools/Source/C/Makefiles/NmakeSubdirs.py +++ b/BaseTools/Source/C/Makefiles/NmakeSubdirs.py @@ -132,7 +132,7 @@ class ThreadControl(object): break self.runningLock.acquire(True) - self.running.remove(threading.currentThread()) + self.running.remove(threading.current_thread()) self.runningLock.release() def Run(): -- 2.40.0.windows.1