From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by sourceware.org (Postfix) with ESMTPS id C367D385841A for ; Wed, 21 Jun 2023 06:52:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C367D385841A 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-x62a.google.com with SMTP id a640c23a62f3a-988c495f35fso359908966b.1 for ; Tue, 20 Jun 2023 23:52:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687330339; x=1689922339; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=XRgOU/nWURGbwT+7vz+lIz6/otFLl1qF4FuR8fraG4w=; b=AIY4JALV+vciUwIZsTkK85BVjaVRzVcdWbpwQyQqRHzxkNldhAR9/LW0ktf+ROHq8O 9mipUF/fU5aPWagp3oAjZbtJf02bPuePaERyPQ5gM4yvEeOyLZYjWHTmHZwtQfN3/pKJ QHhrIj0efID22fWIs09it2SsonflBuwfCbKZuXPm/8rftEmWiuL8YCCDUy5iK2ABxDKV 6jRY7PSm0emRV0YdM2MNWnm2TulsbymAtPw2mMb4clOSYOC1rEKHTrWgubNGyJC1a6Kp lOyCpOx5RcYBEl1y6SfWgco0OzolEq09mJXkbBLQcev7phaKbKpAEHQV6NjfBnDKcs1V +RPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687330339; x=1689922339; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XRgOU/nWURGbwT+7vz+lIz6/otFLl1qF4FuR8fraG4w=; b=dsgDX79ijnPzetpXzSG4U+ER+nPfa+SzxYHJcYhNjJlQT6NF1RJJvgte3LrI1T9Ik5 vivAeg37r1YKNdfwYWDYGjZNieSdVu4LFol1nA/u5z9NeXziLmT1jx2q5HXYs0eSL9D+ OMoTaWmFB17rpaoaLOhumtw5unQfm0rkVlAhjTCdqVGS0m2J6fWLqfG+dGO4KmmKlzMG MvlYWOdUTNsjR49j48gQN0ay2jh4LT2zyRo5njqmyhtz54QMRLxSyTCDagqxYBCUPXsI +bw5qCy+ReIFjzrGDsQd57bC2y1Ut9t44CQSEvwjUGdLzOzJV27TTPyghFsQH8pHVHbE 601A== X-Gm-Message-State: AC+VfDyj1nDCTUNCA4uHhapTlJb7pEpQpBuFH886sQSW5r0h1J1g3XCJ FwD9txmtAfhdzlZ1Ns+Yhxsn7dD6CWOUqxTS7ic= X-Google-Smtp-Source: ACHHUZ51fbS9aygLGsBmfBncm7eHyDb22EA+q3yLon/2Bj97BgSzVUBzCOa2t6ZZ0SAzDQD09UPE4WLDZSSP0XxsPAA= X-Received: by 2002:a17:907:a01:b0:987:fe18:1c56 with SMTP id bb1-20020a1709070a0100b00987fe181c56mr8837787ejc.47.1687330339309; Tue, 20 Jun 2023 23:52:19 -0700 (PDT) MIME-Version: 1.0 References: <20230620171731.230-1-luoyonggang@gmail.com> <1fa54a91-8170-959b-e79d-d5b672d8613c@codesourcery.com> In-Reply-To: <1fa54a91-8170-959b-e79d-d5b672d8613c@codesourcery.com> Reply-To: luoyonggang@gmail.com From: =?UTF-8?B?572X5YuH5YiaKFlvbmdnYW5nIEx1byk=?= Date: Wed, 21 Jun 2023 14:52:08 +0800 Message-ID: Subject: Re: [PATCH v2 0/4] c2y proposal add monotonicwait support for mtx and ctx To: Joseph Myers Cc: Jens Gustedt , libc-alpha@sourceware.org, Florian Weimer Content-Type: multipart/alternative; boundary="0000000000007e4dcb05fe9e35ce" X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE 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: --0000000000007e4dcb05fe9e35ce Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jun 21, 2023 at 4:45=E2=80=AFAM Joseph Myers wrote: > > I think it's a misrepresentation to refer to this as a C2y proposal. > You're proposing a new GNU interface and should describe it as such and > justify it as such. Maybe you intend to propose it for C2y or C3x > (whatever the next C standard revision is - we haven't decided on a > schedule and that's not up for discussion again before the October meeting > at the earliest), but I don't see a WG14 document with such a proposal, This is a prepare for such a proposal, I asked Jens Gustedt before about such a proposal, He suggest me try do the implementation in libc first, And that's make sense, and it's make me found the properly function prototype for this. It's doesn't need to be merged as soon as possible, but give us an indication that the correct direction to achieve monotonic mtx/cnd lock/wait support in C2y or C3x, And if that's direction is correct, I would like to use it in project mesa first and waiting the C2y or C3x to be appeared with such a proposal. > and proposals for the next C standard revision can't now be taken until > the C2x ballots (DIS, possibly FDIS) have completed, some time in 2024. > > -- > Joseph S. Myers > joseph@codesourcery.com -- =E6=AD=A4=E8=87=B4 =E7=A4=BC =E7=BD=97=E5=8B=87=E5=88=9A Yours sincerely, Yonggang Luo --0000000000007e4dcb05fe9e35ce--