[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange Thread Behavior (bug?)
From: |
Marius Vollmer |
Subject: |
Re: Strange Thread Behavior (bug?) |
Date: |
26 Jul 2003 20:48:55 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
sig <address@hidden> writes:
> Umm, what happened to line 4?
Guile quits when the main thread quits. That is, your thread has no
time to finish and is cancelled when Guile quits.
Try 'join-thread' to let the main thread wait for the second thread to
finish.
(join-thread
(begin-thread
(let loop ()
(display "line 1.\n")
...
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405