From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id B3HKGgBxTGgn1wwAWB0awg (envelope-from ) for ; Fri, 13 Jun 2025 14:42:08 -0400 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=tFHrKphL; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 5D8421E102; Fri, 13 Jun 2025 14:42:08 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-8.8 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE autolearn=unavailable autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 086101E0C2 for ; Fri, 13 Jun 2025 14:42:08 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AA89F38B7FF6 for ; Fri, 13 Jun 2025 18:42:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AA89F38B7FF6 Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=tFHrKphL Received: from omta38.uswest2.a.cloudfilter.net (omta38.uswest2.a.cloudfilter.net [35.89.44.37]) by sourceware.org (Postfix) with ESMTPS id A650F38B5F22 for ; Fri, 13 Jun 2025 18:39:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A650F38B5F22 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A650F38B5F22 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749839994; cv=none; b=tQ3mkqt7V67aTq3kZXDokQ8IIXGgNqqKFDGx5XPP+l72KkJJ9rTpKOByBaZvVKZOpBE+yIIGdZKkw0H8H/1WzB/TtxlOADD/b+pWiuaRWtaHm4qA878HhDj4skTn9tYmr41yKO50FVKsS90DKl3ee5eHSefp9Siti86uXF7a9yY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749839994; c=relaxed/simple; bh=mqY95eNSFx4DhQuaZ6tG5E/7/vlpO/zy42yW96u5JxY=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=rU6CQ/3RxTgTMLNGnKz9P3l1ns/kKAlL3+1jdKwJNAD1pbarsxMxecAxNO5HZ8tjvmOmpeYaKyBzuJJEvJwlkEuvwoJQt4Tofvy8I5MSTlWrLBuLjXKVjqvQzcKutr2y2xwSloaL5a2TI80PVwJolaXGqer4uSSRYxobYvEIgWA= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A650F38B5F22 Received: from eig-obgw-5001a.ext.cloudfilter.net ([10.0.29.139]) by cmsmtp with ESMTPS id Q7PZu9ofAAfjwQ9Jhu0aLk; Fri, 13 Jun 2025 18:39:53 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id Q9Jguyf5M0xjjQ9JhuSpAS; Fri, 13 Jun 2025 18:39:53 +0000 X-Authority-Analysis: v=2.4 cv=dPZtm/Zb c=1 sm=1 tr=0 ts=684c7079 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=6IFa9wvqVegA:10 a=ItBw4LHWJt0A:10 a=7d_E57ReAAAA:8 a=NmRkx_-NLBIZ0_UL1DAA:9 a=jhqOcbufqs7Y1TYCrUUU:22 a=VS4QxaUSPT0UtbFnIvSC:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=NIR+rIsf0cXP5H7RdDs6dTSkkGRfh4eSWoCfJMDm1bw=; b=tFHrKphLJE3op5inzRoSK6S996 n7MJV8Uk2PLldv/I4u1rY/xvQFzHWBBro2qAmxhzfFh8SAcHsBHdp4M5NdqFxH5bRg7fmb9CFUZYj tVXhPGopWPZ1+B0k0Of0kzn0Y; Received: from 75-166-228-225.hlrn.qwest.net ([75.166.228.225]:35558 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.1) (envelope-from ) id 1uQ9Jg-00000001DfA-0vSg; Fri, 13 Jun 2025 12:39:52 -0600 From: Tom Tromey To: Simon Marchi Cc: gdb-patches@sourceware.org, Simon Marchi Subject: Re: [PATCH 5/6] gdbsupport: add async parallel_for_each version In-Reply-To: <20250505201548.184917-5-simon.marchi@efficios.com> (Simon Marchi's message of "Mon, 5 May 2025 16:15:29 -0400") References: <20250505201548.184917-1-simon.marchi@efficios.com> <20250505201548.184917-5-simon.marchi@efficios.com> X-Attribution: Tom Date: Fri, 13 Jun 2025 12:39:50 -0600 Message-ID: <87ldpvjxjd.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 75.166.228.225 X-Source-L: No X-Exim-ID: 1uQ9Jg-00000001DfA-0vSg X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-228-225.hlrn.qwest.net (bapiya) [75.166.228.225]:35558 X-Source-Auth: tom+tromey.com X-Email-Count: 7 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfECAvtfvxx9wtiGEXjYSLAL53rgXW4oIZIIGgQREz5bGSqOKX+6MfWI58roykd8v6b6vxh/XfSgJVzViC6gQN2/rKMtMQJVhj5pW71AXQAQLfXuSqC70 df+6ls8ukF4XiyCU6G07064852o0Pa0nUU7Dpfrd+mW7OG1T4JMx0v7cXP7tri9yb/106EFvqvONymnyfYTKACUUWerTbPj8Rw8= X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org >>>>> "Simon" == Simon Marchi writes: Simon> +/* If enabled, print debug info about the inner workings of the parallel for Simon> + each functions. */ Simon> +const bool parallel_for_each_debug = false; Defining a global in a header makes me itch a little. I feel like we've had linker problems with this somewhere? Anyway couldn't this be constexpr? Tom