This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: thread question



The problem is with your background thread; you need another pair of brackets.
It makes a lambda, but does not execute it, then the thread is complete and 
finishes. You need to do

(begin-thread ((make-looper "background")))

begin-thread is analagous to begin; it is not like say map or for-each which 
execute a procedure argument.

Julian Satchell
<satchell@dera.gov.uk>