From nobody Tue Feb 10 01:31:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+104206+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+104206+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1683401473; cv=none; d=zohomail.com; s=zohoarc; b=OhE5KFhi2JKmx8s/VrjcxC0uGitgb5AAMWbBRCvvbseD2xLLt3ZcMI3buId7thHdqIjQkmHEE20J603YpYOPzJr9OPtXtnulyOPHV1tGpr+xIUV0q8zqMMzJlQt8jkfYl8r3+017HEXvrR48u2LOQktT7t12bkLyS7qiqpBXs78= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1683401473; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=3X57WbXRjw66OCdxns/zpo642APznYzJsq/aoQasZxk=; b=Pc2POcqZ52Mk9gmo7YCFs+UW9Z3Ly6g2I8UR9Jmu7UEWMocKaB2m+s5XcUZ89K6egNClA30KMzSZIt53EzjVriHdiXhFVHOhjpzVHFyFpaVRnUM6OBHmcUwv/Uc5cnv0sAYX5+k6pLgiNqzQ22r2iHYIwSMGLUnPJ7SzBgJSnTM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+104206+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1683401473865404.4040958602335; Sat, 6 May 2023 12:31:13 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id xhr8YY1788612xVLxztebaCz; Sat, 06 May 2023 12:31:13 -0700 X-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 X-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) X-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 06 May 2023 15:31:12 -0400 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 X-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: [edk2-devel] [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> In-Reply-To: <20230506193052.1835-1-rebecca@bsdio.com> References: <20230506193052.1835-1-rebecca@bsdio.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,rebecca@bsdio.com X-Gm-Message-State: UA2H429cnuzzExCMWwrw2LWqx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1683401473; bh=UWAStX5qI2iPvvqR0boI2rlB0QWaKLYx3AtA1wWxPw0=; h=Cc:Date:From:Reply-To:Subject:To; b=AKxtO9ksymG8Ua2/zgr/KUMIUsABvY+ZXrFiLHh5GS40LqYWPJMS7Iccd7Bic/ht1C8 VbSygGt1q69z3nm/NhbjAfaLq+3iVOZ/kRsVTAO/b8fMOlvXTBhMZT83fHR/+5uJ5uqp5 vRusI2IOJOwRYrNV6uB9CqbeMQy/TVkN14s= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1683401475481100011 Content-Type: text/plain; charset="utf-8" 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/Sourc= e/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 =20 self.runningLock.acquire(True) - self.running.remove(threading.currentThread()) + self.running.remove(threading.current_thread()) self.runningLock.release() =20 def Run(): --=20 2.40.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#104206): https://edk2.groups.io/g/devel/message/104206 Mute This Topic: https://groups.io/mt/98730533/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-