[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Another thread oddity/bug: scm_set_current_output_port
From: |
Ludovic Courtès |
Subject: |
Re: Another thread oddity/bug: scm_set_current_output_port |
Date: |
Wed, 12 Nov 2008 14:05:56 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) |
Hi,
"Linas Vepstas" <address@hidden> writes:
> It appears that the current port setting is lost, with each new
> thread. So, for example, if I set the current output port in the
> first 3 threads created, wait, and create a 4th thread, the
> current output port is not set in the fourth thread, and etc.
This is the expected behavior: `current-output-port' and friends are
implemented as fluids, which is per-thread (info "(guile) Fluids and
Dynamic States").
Thanks,
Ludo'.