From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-io1-xd34.google.com with SMTP id e11so1271043ioe.3 for ; Fri, 03 Mar 2023 09:29:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1677864597; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=rcZy+dNhMnjLwbIkPYAsTNUJf6ID999YBOcjQOvkEFU=; b=cnYLgrI4hjY0CikDH4R6VbCkWMdCIxR7H8FWUh2CfuLCK8rLWWc01BzXgn0amO4cxs zAQMlvB4WHCwsPHSgLK9seRrSAqzSdd103Rm9xpt61T+fKRRJx1W3zd4VUTedCMqlOfa culEpkoUujdIAtVTYiZjIzn4yVxLIYlPn7jUe9RbIPVWYWpujGAu5r2Nk1U7lCE6zOBV MWV+GMuUya9Y4DCJpYINjlpKaGXGcoCNubvlcmt9aGVAc8CyLlPITDFVxXfJklvHkvhI 7Ie/6ORc87Vxbi+Y7tJSyOCnLVgkV/X7oxnDWFd9Qg9+S0HUH8tMGsT+7t6HaYCImM24 G5UA== 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) From: Tom Tromey 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-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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