#lang racket
(define thr (thread (lambda () (printf "asdf\n") (sleep 2))))
; wait
(let loop ()
(unless (thread-dead? thr) (loop)))
'Programming' 카테고리의 다른 글
Creating multiline strings in JavaScript (0) | 2013.09.08 |
---|---|
Closing Database Connections in Java (0) | 2013.09.05 |
Learn Common Lisp in Y minutes (0) | 2013.09.04 |
Quasiquoting in Scheme to Study a Computation (0) | 2013.09.03 |
(Racket) Sequences (0) | 2013.09.03 |