[gambit-list] Threads IO question
ben at fuhok.net
ben at fuhok.net
Sat Jun 4 10:51:42 EDT 2005
Are you using thread-join! to wait on the termination of the thread
that is calling disp-msg?
It's kind of hard to debug this problem without seeing a little more
of your code.
Regards,
Ben
On Sat, Jun 04, 2005 at 04:29:34AM -0300, leo lencioni wrote:
> 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
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> http://mailman.iro.umontreal.ca/mailman/listinfo/gambit-list
More information about the Gambit-list
mailing list