From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by sourceware.org (Postfix) with ESMTPS id B89C53858C00; Mon, 7 Nov 2022 13:51:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B89C53858C00 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x629.google.com with SMTP id f27so30312057eje.1; Mon, 07 Nov 2022 05:51:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3lfwr+bxw08qihAeqg7if/7HYnFhaWtxSNV0gSl3bbM=; b=No4qpaVE4jvQtLuxh8OlkokDSxIf3P48+vu5lASOhpj1XfSQjVNu5J4nJFfgm6zRo3 Sq5pn4P0LSIAN75mj3ZURt8qQMSvLkI1a77RtotGK7p6ULHjDR/+H/ryQ/iU9oKtprI3 YmZDBvfAi4MYcwjnO9aTUuRKnunrr8yPJhlgbdQ/s78yht2Be5rqvBsIejqVlxPZ75nj OQx9QLbjY2/eyF0Q/dCy06V7Rx7s5RPkRlE3mKZdO+95diEB4DSWQojkFXb0kJNlOsay ZxR5pa/x4iBaclpYPL2G9ksrC+QbJ1+BG6y/FShUedW3AdgzYwV0EFOJMEhmmvAvgiNj F/PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3lfwr+bxw08qihAeqg7if/7HYnFhaWtxSNV0gSl3bbM=; b=nT62rL/VH8QA8XaMV9vKDIPQB/ql5bHGWeuBjj9exxWMSyHgNhBZv3q2O25zMdiXMD YaN/F8nmrS0tLwC2KB4bDJzP8MLAi8Q9qz9SvKBPD1H7zzZx6SZzGOkR6vhOAoDRvfVM phUaysjEqHOHqnk44hGtILtes6hE5zGOXBlFxBXQhmtdrUFxnRF6Kk/zeMmQQxp8Uv/C Km6SIUaRaEv0Wua46cTL9MY+u2rsm1/sU76QXgU5OKc5w0mYCXBWlTvRGsIbTppYBd1q pQdtQ6VEPiHAdMqZExyceKGxwxsRre0iK9e84SzPwRrNqkUtNd6sHdhWdBVz4fwFd9kk UvYw== X-Gm-Message-State: ACrzQf2BDVJF14J0AORSkhumrgJpgDi9X3Oi464fykvVOmuLnpzGQm45 my8btoGpeWII57oLzAOu6QaQfYziGpFknsjtACU= X-Google-Smtp-Source: AMsMyM4wIZa7YL7dnMHuybTyCeNF2mtGes2DFNnj3AMmrEKapo77pNYa9p3L/05u3oDFZghlifx8D8G1WZrzDnMOOy0= X-Received: by 2002:a17:907:728e:b0:78d:f5c2:70d3 with SMTP id dt14-20020a170907728e00b0078df5c270d3mr47219467ejc.506.1667829109662; Mon, 07 Nov 2022 05:51:49 -0800 (PST) MIME-Version: 1.0 References: <8f15b063-9ec8-59e0-590b-20e416f68cb4@126.com> <98c69fc7-713f-a09a-8ca7-c3e64bdfd309@126.com> <0c6b1411-fa35-1c2f-16f2-f26b6e6cedaa@126.com> In-Reply-To: <0c6b1411-fa35-1c2f-16f2-f26b6e6cedaa@126.com> From: Jonathan Wakely Date: Mon, 7 Nov 2022 13:51:38 +0000 Message-ID: Subject: Re: why does gccgit require pthread? To: LIU Hao Cc: Andrew Pinski , gcc@gcc.gnu.org, gcc-patches@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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: On Mon, 7 Nov 2022 at 13:33, LIU Hao wrote: > > =E5=9C=A8 2022-11-07 20:57, Jonathan Wakely =E5=86=99=E9=81=93: > > It would be a lot nicer if playback::context met the C++ Lockable > > requirements, and playback::context::compile () could just take a > > scoped lock on *this: > > > > > > Yeah yeah that makes a lot of sense. Would you please just commit that? I= don't have write access to > GCC repo, and it takes a couple of hours for me to bootstrap GCC just for= this tiny change. Somebody else needs to approve it first. I'll combine our patches and test and submit it properly for approval.