[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
About bug 9 (thread)
From: |
Manuel Giraud |
Subject: |
About bug 9 (thread) |
Date: |
08 Nov 2001 17:51:59 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
Not a great information, but the bug seems to be related to this
comment in 'libguile/script.c' :
/* After doing all the other actions prescribed by the command line,
quit. */
In fact, to avoid this, one can do :
#!/usr/local/bin/guile -s
!#
(use-modules (ice-9 threads))
;;; Two threads
(begin-thread
(let loop ()
(display "a")
(newline)
(loop)))
(begin-thread
(let loop ()
(display "b")
(newline)
(loop)))
;;; Never ending loop
(let loop ()
(sleep 5)
(loop))
But it is a bit ugly.
--
Jake:"See those berries? That's our breakfast! See that stream? That's
our drinking water!"
Daria:"See that skeleton? That's our future."
-From "The Teachings Of Don Jake."
_Manuel Giraud_
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- About bug 9 (thread),
Manuel Giraud <=