From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29971 invoked by alias); 16 May 2011 00:52:56 -0000 Received: (qmail 29963 invoked by uid 22791); 16 May 2011 00:52:55 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_05,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 00:52:41 +0000 Received: from eggs.gnu.org ([140.186.70.92]:45596) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QLm36-0008GG-A2 for gcc-patches@gnu.org; Sun, 15 May 2011 20:52:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QLm34-0002YA-Sn for gcc-patches@gnu.org; Sun, 15 May 2011 20:52:39 -0400 Received: from mail.codesourcery.com ([38.113.113.100]:59161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QLm34-0002Xq-Jd for gcc-patches@gnu.org; Sun, 15 May 2011 20:52:38 -0400 Received: (qmail 9917 invoked from network); 16 May 2011 00:52:35 -0000 Received: from unknown (HELO ?192.168.1.78?) (froydnj@127.0.0.2) by mail.codesourcery.com with ESMTPA; 16 May 2011 00:52:35 -0000 Message-ID: <4DD0754D.1050808@codesourcery.com> Date: Mon, 16 May 2011 09:45:00 -0000 From: Nathan Froyd User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0a2) Gecko/20110505 Thunderbird/3.3a4pre MIME-Version: 1.0 To: Gabriel Dos Reis CC: Nicola Pero , "gcc-patches@gnu.org" Subject: Re: Patch: New GTY ((atomic)) option References: <1305504836.57384542@www2.webmail.us> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 38.113.113.100 X-IsSubscribed: yes 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/msg01093.txt.bz2 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"? -Nathan