[gambit-list] Threads IO question

leo lencioni lencionil at gmail.com
Sat Jun 4 03:29:34 EDT 2005


I'am a scheme newbie and trying to learm scheme. I have the following function:

(define (disp-msg msg)
   (display msg)
   (newline))

I'am using it inside inside a thread to print debug info. 

(thread-start! (make-thread (lambda () (disp-msg "Hello")))

Running it inside GSI gives no problem and everithing goes well. But
when I compile it they show no output.  I'am compiling with gsc with
no options. Linux/debian. Gambit 4.0 b13. What I'am doing wrong? I'am
missing compiler options.

Thanks for your help



More information about the Gambit-list mailing list