Re: [racket-users] Help on Threads
On Mon, Sep 28, 2015 at 2:05 AM, Neil Van Dyke wrote: > Sergey Yudin wrote on 09/27/2015 04:50 PM: > >> Can you please explain whats wrong with the code ? >> > > The program exits because the main thread exits, even though the > "background" threads are sti
[racket-users] Help on Threads
Hello! I am very new to Racket and trying to use some samples file th.rkt #lang racket/base (thread (lambda () (for ([i 10]) (sleep 2) (printf "thread 1\n" (thread (lambda () (for ([i 20]) (sleep 1) (printf "t