From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mx.groups.io with SMTP id smtpd.web10.40788.1683401473081559847 for ; Sat, 06 May 2023 12:31:13 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bsdio.com header.s=fm1 header.b=qH0q6tKc; spf=pass (domain: bsdio.com, ip: 64.147.123.24, mailfrom: rebecca@bsdio.com) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 1062932000E5; Sat, 6 May 2023 15:31:11 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 06 May 2023 15:31:12 -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=1683401471; x= 1683487871; bh=O/BuFf24lDnHmWBHxeZlFWzLCUp2KMEz8/9zNLpt7QE=; b=q H0q6tKcuduet7lgj8iDrikUBl97dnIlkULVdzfulXen4OyWwQeQzUhb76x72jKLL fgR1KyjEBD5AAhh7zcCBI398io7g8ePKjxd6strippb+UuTdEzNSJHIIxW66OkgV cTZR6XsyEXHsjvvIiO0xZPeiOumtkT+7Jvx/lVLMzWNg9xot0aCwS8DA1UqgFlPj D9qxEUVJ8x4O5rlxvtR7vbe9Kk9dw982JIdPblRmwnI89ZB0mysQGevahpYE09MZ qKZwpQDz9DhGrTE1b9ScESRA8zkuRmVWfp4TD29pOtwoAsAEt10sk7WZSbmFOh3D q5jszQz0IND7MJD2LxeHg== 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=1683401471; x= 1683487871; bh=O/BuFf24lDnHmWBHxeZlFWzLCUp2KMEz8/9zNLpt7QE=; b=Q CoUPdmfAk4KQoJZZhKXbsamHsEBCVumqz/yC/LpbdeC0v6RFj3bRavkF90TAqZDl X516rz+W8MeoHuqAKVofMM/B2Q5gnV2sK/iUlMlclYdOprAXpWsBAxZZMuro5MFT w6WM59OxU3jr3LM7Sr0OfPe217M5e70alZXqpkvq9890vF7Pm3r5joIHec8Bm5Id 9jQEhgt4tQuJbQfImytw21ff/KBGIVuIT1w+QnQhUQ7HU34kQQQOsuH0J2K2FHPL XGUc/nCP5LMXQTC2CIATcVHQdy4bGYi9fI6KC9Y/UXKLFSk5K9W5IAL3MW5evIF1 MQ/a29M704Ih+3146hwtg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeefgedgudduiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeftvggs vggttggrucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtohhmqeenucggtffrrg htthgvrhhnpeegffeuueelvdeggfdvvdfgtedvudfhfeekudekieektddukeefteetieef vdelfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hrvggsvggttggrsegsshguihhordgtohhm X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 6 May 2023 15:31:10 -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 v3 2/4] BaseTools: use threading.current_thread in NmakeSubdirs.py Date: Sat, 6 May 2023 13:30:50 -0600 Message-Id: <20230506193052.1835-3-rebecca@bsdio.com> X-Mailer: git-send-email 2.40.0.windows.1 In-Reply-To: <20230506193052.1835-1-rebecca@bsdio.com> References: <20230506193052.1835-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