unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Neil Jerram <neil@ossau.uklinux.net>
Cc: guile-devel <guile-devel@gnu.org>
Subject: Re: "avoid running GC when SCM_I_CURRENT_THREAD is unset"
Date: Wed, 30 Mar 2011 23:31:27 +0200	[thread overview]
Message-ID: <m362r01ej4.fsf@unquote.localdomain> (raw)
In-Reply-To: <87ipv0fmof.fsf@ossau.uklinux.net> (Neil Jerram's message of "Wed, 30 Mar 2011 20:11:44 +0100")

Hi Neil!

Adding guile-devel; I'm wrong a lot lately, and folks should know ;-)

On Wed 30 Mar 2011 21:11, Neil Jerram <neil@ossau.uklinux.net> writes:

> I saw this change and couldn't fully understand it.  Given that you
> ended up adding GC_disable() and GC_enable() around the GC_malloc()
> call, couldn't you just have done that without all the other changes
> from "t->" to "t." ?
>
> I'm probably missing something, but could you point it out?

Indeed, I probably could have just done a GC_disable before the whole
thing, and an enable() afterwards.  That's probably clearer, no?

Andy
-- 
http://wingolog.org/



       reply	other threads:[~2011-03-30 21:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87ipv0fmof.fsf@ossau.uklinux.net>
2011-03-30 21:31 ` Andy Wingo [this message]
2011-03-30 21:59   ` "avoid running GC when SCM_I_CURRENT_THREAD is unset" Neil Jerram

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

  List information: https://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=m362r01ej4.fsf@unquote.localdomain \
    --to=wingo@pobox.com \
    --cc=guile-devel@gnu.org \
    --cc=neil@ossau.uklinux.net \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).