mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Olaf Titz <olaf@bigred.inka.de>
To: linux-kernel@vger.kernel.org
Subject: Re: Setjmp/Longjmp in the kernel?
Date: Mon, 10 Feb 2003 23:24:41 +0100	[thread overview]
Message-ID: <E18iMLx-00020k-00@bigred.inka.de> (raw)
In-Reply-To: <1044882041.418.1.camel@irongate.swansea.linux.org.uk>

> int foo_func()
> {
> 	alloc this
> 	alloc that
> 	_foo_func()
> 	free this
> 	free that
> }

Not that this matters any bit, but the proper order is of course
 	alloc this
 	alloc that
 	_foo_func()
 	free that
 	free this

even if only for aesthetical reasons :-)

(with locks, it does matter...)

Olaf


  reply	other threads:[~2003-02-10 22:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-09 22:10 John W. M. Stevens
2003-02-10 13:00 ` Alan Cox
2003-02-10 22:24   ` Olaf Titz [this message]
2003-02-12 10:55     ` Kasper Dupont
2003-02-12 19:45       ` John W. M. Stevens

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=E18iMLx-00020k-00@bigred.inka.de \
    --to=olaf@bigred.inka.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

all inboxes | Powered by JetHome®