guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ice-9 format weirdness


From: Matthias Koeppe
Subject: Re: ice-9 format weirdness
Date: Wed, 25 Jun 2003 11:15:24 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.3.50 (sparc-sun-solaris2.8)

Tatu Tarvainen <address@hidden> writes:

> Is there a way to use format in multithreaded apps or do I have to stick
> with simple format?

The format procedure is not reentrant/threadsafe due to its use of
global variables that hold state during the formatting process
(format:port, format:output-col, and many more).

To make it threadsafe, one needs to change all these global variables
to fluid variables (and change all uses throughout format.scm).

-- 
Matthias Koeppe -- http://www.math.uni-magdeburg.de/~mkoeppe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]