From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18442 invoked by alias); 16 May 2011 01:52:09 -0000 Received: (qmail 18369 invoked by uid 22791); 16 May 2011 01:52:08 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 16 May 2011 01:51:54 +0000 Received: from eggs.gnu.org ([140.186.70.92]:54340) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QLmyP-0002P8-Rd for gcc-patches@gnu.org; Sun, 15 May 2011 21:51:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QLmyO-0001zC-SO for gcc-patches@gnu.org; Sun, 15 May 2011 21:51:53 -0400 Received: from mail-yi0-f41.google.com ([209.85.218.41]:51516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QLmyO-0001z8-Oc for gcc-patches@gnu.org; Sun, 15 May 2011 21:51:52 -0400 Received: by yib18 with SMTP id 18so1592314yib.0 for ; Sun, 15 May 2011 18:51:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.151.77.28 with SMTP id e28mr2912480ybl.257.1305510711984; Sun, 15 May 2011 18:51:51 -0700 (PDT) Received: by 10.147.125.11 with HTTP; Sun, 15 May 2011 18:51:51 -0700 (PDT) In-Reply-To: <4DD0754D.1050808@codesourcery.com> References: <1305504836.57384542@www2.webmail.us> <4DD0754D.1050808@codesourcery.com> Date: Mon, 16 May 2011 10:00:00 -0000 Message-ID: Subject: Re: Patch: New GTY ((atomic)) option From: Gabriel Dos Reis To: Nathan Froyd Cc: Nicola Pero , "gcc-patches@gnu.org" Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.218.41 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-05/txt/msg01094.txt.bz2 On Sun, May 15, 2011 at 7:52 PM, Nathan Froyd wrote: > On 05/15/2011 08:49 PM, Gabriel Dos Reis wrote: >> On Sun, May 15, 2011 at 7:13 PM, Nicola Pero >> wrote: >>> This patch adds a new GTY option, "atomic", which is similar to the identical option you have with Boehm GC >>> and which can be used with pointers to inform the GC/PCH machinery that they point to an area of memory that >> [...] >>> This patch basically implements it, but at this stage requires you to explicitly tell gengtype that the >>> pointer is atomic (and that is safe for gengtype to ignore the memory it points to). >> >> then should you not name the attribute "ignore"? > > Or even the existing attribute "skip"? better, indeed. :-) -- Gaby