Skip to content

Instantly share code, notes, and snippets.

@weskerfoot
Created October 23, 2013 00:24
Show Gist options
  • Save weskerfoot/7110488 to your computer and use it in GitHub Desktop.
Save weskerfoot/7110488 to your computer and use it in GitHub Desktop.
#lang racket
(define (infinite)
(infinite))
(define (f)
(sleep 1)
(infinite)
(displayln "in f")
(f))
(define (g)
(sleep 5)
(displayln "in g")
(g))
(thread f)
(thread g)
(read)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment