archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <>
To: Alan Cox <>
Cc: Samuel Thibault <>,
	Linux Kernel Mailing List <>
Subject: Re: [RFC] single return paradigm
Date: Sat, 16 Aug 2003 18:10:35 -0700	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Sun, Jul 27, 2003 at 11:43:22AM +0100, Alan Cox wrote:
> When you tell gcc to build with profiling it provides the right hooks
> for you to provide alternate code to the libc profile code

Starting with gcc 3.3, there is __attribute__((cleanup(foo))),
which, when applied to a local variable, is effectively 
destructors for C.  Foo will be invoked with a pointer to the
variable just before the variable goes out of scope.


      parent reply	other threads:[~2003-08-17  1:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-26 22:16 [RFC] single return paradigm Samuel Thibault
2003-07-27 10:43 ` Alan Cox
2003-07-30  1:02   ` Samuel Thibault
2003-08-17  1:10   ` Richard Henderson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).