unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Clinton Ebadi <clinton@unknownlamer.org>
Subject: Re: threadsafe format.scm
Date: Wed, 30 Jul 2003 19:06:54 -0400	[thread overview]
Message-ID: <200307301906.54468.clinton@unknownlamer.org> (raw)
In-Reply-To: <873cgn3and.fsf@zip.com.au>

On Wednesday 30 July 2003 18:36, Kevin Ryde wrote:
> Clinton Ebadi <clinton@unknownlamer.org> writes:
> > I wrapped all of the global variables that are modified in format.scm in
> > fluids and a quick test makes it appear that the new format is now
> > threadsafe (the old one fails, but the new one works).
>
> Can they be made into local variables within a big define instead (let
> or whatever)?  That'd have the advantage of being reentrant too.

No, because they are shared between all of the many different procedures of 
format. Of course, one could make all of the various procedures used by 
format be local to format. That seems to be the best way to do things, so 
I'll redo my patch so it does that instead. I also noticed (a few minutes 
ago) that I missed the variables used by the floating point printer that are 
global and modified.

-- 
http://unknownlamer.org
AIM:unknownlamer IRC:unknown_lamer@freenode#hprog


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


  reply	other threads:[~2003-07-30 23:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-29  3:27 threadsafe format.scm Clinton Ebadi
2003-07-30 22:36 ` Kevin Ryde
2003-07-30 23:06   ` Clinton Ebadi [this message]
2003-07-31  2:46     ` Clinton Ebadi
2003-07-31 22:11       ` Kevin Ryde
2003-08-01  2:39         ` Clinton Ebadi
2003-08-01  3:18           ` Clinton Ebadi
2003-09-15 13:33       ` Marius Vollmer

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=200307301906.54468.clinton@unknownlamer.org \
    --to=clinton@unknownlamer.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).