From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id uEbJCqouAmSndgMAWB0awg (envelope-from ) for ; Fri, 03 Mar 2023 12:30:18 -0500 Received: by simark.ca (Postfix, from userid 112) id 288621E223; Fri, 3 Mar 2023 12:30:18 -0500 (EST) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=BZ+F5atq; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from 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 RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id D94A81E128 for ; Fri, 3 Mar 2023 12:30:17 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4BB94385842A for ; Fri, 3 Mar 2023 17:30:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4BB94385842A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1677864617; bh=rcZy+dNhMnjLwbIkPYAsTNUJf6ID999YBOcjQOvkEFU=; h=To:Cc:Subject:References:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=BZ+F5atqcOyTFkkshNdCzutYM5hPyd5kw3nK3VX+L6WUGhQ8i2aX48hnmLUv/yb33 60dZ8JCPn0nvDM5SD40mVQdqnNlgHJCw1cR3N5SDai9Eh0eHqYHkCg86qdFxq+w+r/ BjghGhmDwMmrf2KxOSruu5vvxq2JsXGFFs9tBYow= Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) by sourceware.org (Postfix) with ESMTPS id 7881B3858D37 for ; Fri, 3 Mar 2023 17:29:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7881B3858D37 Received: by mail-io1-xd34.google.com with SMTP id e11so1271043ioe.3 for ; Fri, 03 Mar 2023 09:29:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677864597; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=rcZy+dNhMnjLwbIkPYAsTNUJf6ID999YBOcjQOvkEFU=; b=Y4dL7BKO7YQL8aXkL8BIy1m2dVqxP4uHsXzCrIyYHjr8LaFCs4xCN8rtmced+hTjHw X4kUaRcRUe6qlhVFcFldq57p3VAHMIG53DoJtqoAPVIrdI9P+62VXfI9pFuG636ePhiX 65aI3xON/8VfJ63HDISLjjAlU/n8ldP4ePFHVuEgNHsOYwMnlArHL9MgunWsVGYtxfmm MK14N5hEu6VsYGke8LhGULueWPs+fnQTQgux4LFGwX6e5fqR49MUCc1ytvIDQkfDV02V qvgb5H44tvDNXd5e5SbwKx4MZL1gswOfLKFau89LaeP9of6VsjZwhwPmIKDMNP7fl63j GfZA== X-Gm-Message-State: AO0yUKWDe8Dqeb7WN6D0MIEXPdRs1FlGQ9bQ/sYV59YTLgNB6YI4DrVj 8bi6+hg2YLiqepd30fTe8SB/sQ== X-Google-Smtp-Source: AK7set8MAFHBEXGYs2RJrTwZK9zghOJVfGSt89sPRgpd/vwObq8prciUGVWcR2bEGfKyTi5YexhM0g== X-Received: by 2002:a6b:dd07:0:b0:74c:c120:10db with SMTP id f7-20020a6bdd07000000b0074cc12010dbmr1384128ioc.4.1677864597678; Fri, 03 Mar 2023 09:29:57 -0800 (PST) Received: from murgatroyd (75-166-130-93.hlrn.qwest.net. [75.166.130.93]) by smtp.gmail.com with ESMTPSA id s12-20020a02ad0c000000b003a53692d6dbsm879951jan.124.2023.03.03.09.29.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 09:29:57 -0800 (PST) To: Simon Marchi Cc: Tom Tromey , Tom Tromey via Gdb-patches Subject: Re: [PATCH v3 0/2] Write DWARF index cache files in background References: <20221219164558.378363-1-tromey@adacore.com> <87k006j3zz.fsf@tromey.com> <1154aa3c-4ef9-80ef-c551-35a9ce8bf294@simark.ca> <87o7p9aitj.fsf@tromey.com> <80c09fa0-76f3-2625-d991-fdce471c71a9@simark.ca> X-Attribution: Tom Date: Fri, 03 Mar 2023 10:29:56 -0700 In-Reply-To: <80c09fa0-76f3-2625-d991-fdce471c71a9@simark.ca> (Simon Marchi's message of "Fri, 3 Mar 2023 12:22:58 -0500") Message-ID: <87cz5pagkr.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Tom Tromey via Gdb-patches Reply-To: Tom Tromey Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" Simon> I don't understand this. Yeah, sorry, I didn't properly understand the test. Simon> I think this could be solved with a maintenance command to explicitly Simon> wait for index cache creation (calls wait_for_index_cache). I don't see Simon> another reliable way. What do you think? I can implement it if you Simon> think it would work. I think you're right. I can handle it. Tom