From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by sourceware.org (Postfix) with ESMTPS id 235FF396E854; Wed, 3 Mar 2021 17:14:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 235FF396E854 IronPort-SDR: Yl5YkP25Txz0s4n3L0gYTTgyYV3IUGydk0i0zMM543icnjHObFU6oH0c2VjLrkA4TkAYDHnMo9 WufSN4W1kZzw== X-IronPort-AV: E=McAfee;i="6000,8403,9912"; a="251288816" X-IronPort-AV: E=Sophos;i="5.81,220,1610438400"; d="scan'208";a="251288816" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2021 09:14:07 -0800 IronPort-SDR: P5IBPpBHRukXeuO3ULt1AqO5MAxjSPnHSNSuIg9zLWtCWaA4rElv4f7kag1Eyru6zPkiryCZx0 h7LqK8FeOqNg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,220,1610438400"; d="scan'208";a="596446599" Received: from irsmsx605.ger.corp.intel.com ([163.33.146.138]) by fmsmga006.fm.intel.com with ESMTP; 03 Mar 2021 09:14:06 -0800 Received: from tjmaciei-mobl1.localnet (10.254.104.128) by IRSMSX605.ger.corp.intel.com (163.33.146.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 3 Mar 2021 17:14:05 +0000 From: Thiago Macieira To: Jonathan Wakely CC: , Subject: Re: [PATCH 1/5] std::latch: reduce internal implementation from ptrdiff_t to int Date: Wed, 3 Mar 2021 09:14:01 -0800 Message-ID: <2106072.b53mCu53De@tjmaciei-mobl1> Organization: Intel Corporation In-Reply-To: <20210303143426.GS3008@redhat.com> References: <1968544.UC5HiB4uFJ@tjmaciei-mobl1> <20210226155937.621324-1-thiago.macieira@intel.com> <20210303143426.GS3008@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-IP: [10.254.104.128] X-ClientProxiedBy: orsmsx603.amr.corp.intel.com (10.22.229.16) To IRSMSX605.ger.corp.intel.com (163.33.146.138) X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: Wed, 03 Mar 2021 17:14:10 -0000 On Wednesday, 3 March 2021 06:34:26 PST Jonathan Wakely wrote: > On 26/02/21 07:59 -0800, Thiago Macieira via Libstdc++ wrote: > >ints can be used as futex on Linux. ptrdiff_t on 64-bit Linux can't. > > Yes, we should do this for GCC 11. Want me to re-submit this one alone, with the "alignas(4)" with a commend indicating it's what the kernel requires? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel DPG Cloud Engineering