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.web10.85944.1682442941156618136 for ; Tue, 25 Apr 2023 10:15:41 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bsdio.com header.s=fm1 header.b=dhG1Ody3; spf=pass (domain: bsdio.com, ip: 66.111.4.27, mailfrom: rebecca@bsdio.com) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 7D3E75C0135; Tue, 25 Apr 2023 13:15:40 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 25 Apr 2023 13:15:40 -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=1682442940; x= 1682529340; bh=O/BuFf24lDnHmWBHxeZlFWzLCUp2KMEz8/9zNLpt7QE=; b=d hG1Ody3QOjlAAPzmwFe1lZ9X43/lYNT805zIbNWmp/Fb6ADIWKL4DWVO8OAXqRUh fHJAhtHyqNZZtdJ9BVIhoIIs4t7OVh0Iwfo/StAbSNQFy2riTQNa4GNMQklWHNXr Ef5rvCU/jOI+PoO2bcUArj7tVnUHbW0JoNnMf2kex9o9ThFNFnd+0jKnGybXPc6L hvh1qQQqY4gzq2KmQY4fImWSMg98FVXaPSUIZN+qp/w9sFjNYWr9hHFM6LIcBfBZ Jg/XlBNobeW2XRTHUtr3uzZVbEEW6QWZ5OAlrz4fdGx/308GPHwMBT2qzDJHYVUb MmO6yKspqVxdYZXWniaGg== 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=1682442940; x= 1682529340; bh=O/BuFf24lDnHmWBHxeZlFWzLCUp2KMEz8/9zNLpt7QE=; b=Z PmPeik6oGZ26la3AAVI//FDYXenj0snR5yoYBmX/IsEkmcXDVwckIIUG2bv/e+d1 uUgsz2yHSzj6z47DkTsZSXlszuZ+YX8XVFAFQCGc3MmudqMHqOi+4cVgs3YdFk6j qX9LuScS8Orji54uNM5X4FfC2hple0OhNfw2fqJnI1+KD7YB+9CxC60V9pTXbH6u qg82oIyNZsn+k3Fw59J/9HluJFFhSUChhm6+XSN61d6A9h2U7Fanz8hEb8WIexTl I4ou0FopJawqfwRZ6ez9iG796CIunPDuhh5FeIBabBRgEoyrQ1MKomovNFK5c3Ha l8jTCHjKD+Fp2+WSC/bnQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeduvddguddutdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeftvggs vggttggrucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtohhmqeenucggtffrrg htthgvrhhnpeegffeuueelvdeggfdvvdfgtedvudfhfeekudekieektddukeefteetieef vdelfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hrvggsvggttggrsegsshguihhordgtohhm X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 25 Apr 2023 13:15:39 -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 2/6] BaseTools: use threading.current_thread in NmakeSubdirs.py Date: Tue, 25 Apr 2023 11:15:14 -0600 Message-Id: <20230425171518.1584-3-rebecca@bsdio.com> X-Mailer: git-send-email 2.40.0.windows.1 In-Reply-To: <20230425171518.1584-1-rebecca@bsdio.com> References: <20230425171518.1584-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