From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id DE7F23858404 for ; Tue, 9 Nov 2021 19:40:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DE7F23858404 Received: from mail-yb1-f197.google.com (mail-yb1-f197.google.com [209.85.219.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-68-W29SoRWVMT6p3AY48cgB_Q-1; Tue, 09 Nov 2021 14:40:53 -0500 X-MC-Unique: W29SoRWVMT6p3AY48cgB_Q-1 Received: by mail-yb1-f197.google.com with SMTP id v20-20020a25fc14000000b005c2109e5ad1so169762ybd.9 for ; Tue, 09 Nov 2021 11:40:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ExTxdKKMminYEx55tVSV0n3Ol5uDkiOE43OHrhUaLcQ=; b=ehGBkRQueh4PQbjG02PYz/kCMAtr17RJj+wrWlxkZyl7BZV/CPI6Y590ZsR1rvt5oK DjdTre0RlIDBP3hdkXA/JcNUYGUB2qymtfHZPlInwVoX2nR27rgslv4nZQVp1zomXVFt rGCTo5qpuJmxX6FvP40tCXHJbtoafUaTp2aiSippRAsJ0/JVKzJMjYUxZPeO4QfRglaK XPbQuouXtaaiLBh3Y2utK3TJHJwB8QN+usVS0xrlaKhCsOBmqN6rsH1SmBCNzsh96cZe kkPn9bvZCCZKF6DpiaNxd0EfWH5Khju8BNOL2YsFra3CgF3raLvAN/Z8zO2JdCOK4eVS gFEg== X-Gm-Message-State: AOAM530XOMv8aCc71zq8i93Yk/rq1IPq3f/8uhhMaIFJMvUTNhowSb88 lul0bncD40X0q3K9sv7caDaSVmexrDHQzDzCaMpfMpJtNgFN87IqIej8E0PZLCvizkqUa7pyWJX 0R+h0XlMHqF5SMFn1W1vPurg1MLwpolk= X-Received: by 2002:a25:acdd:: with SMTP id x29mr11130156ybd.96.1636486852805; Tue, 09 Nov 2021 11:40:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwEI8Yr9HJ7nloOXgpTY2sbb0H9KGy45zpJPLBSzJabe9aF/hbJQgHAB1fZW8BZRiBCuKLikpHZLX+v1V26bOw= X-Received: by 2002:a25:acdd:: with SMTP id x29mr11130124ybd.96.1636486852544; Tue, 09 Nov 2021 11:40:52 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Tue, 9 Nov 2021 19:40:40 +0000 Message-ID: Subject: Re: libstdc++: Make atomic::wait() const [PR102994] To: Thomas Rodgers Cc: "libstdc++" , gcc Patches X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=unavailable autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2021 19:40:57 -0000 On Tue, 9 Nov 2021 at 18:09, Thomas Rodgers wrote: > Revised patch attached. > OK for trunk and gcc-11, thanks. > On Fri, Nov 5, 2021 at 4:46 PM Jonathan Wakely > wrote: > >> On Fri, 5 Nov 2021 at 21:51, Jonathan Wakely via Libstdc++ >> wrote: >> > >> > OK, thanks. >> >> Actually, we should really have a test to verify it can be called on a >> const object. Please add something when you commit, it can be dumb and >> simple, it just needs to verify that it can be called. >> >> >> > >> > >> > On Fri, 5 Nov 2021 at 21:46, Thomas Rodgers via Libstdc++ < >> > libstdc++@gcc.gnu.org> wrote: >> > >> > > >> > > >> >>