[plt-scheme] system function and threads

From: pp (pedro.e.pinto at gmail.com)
Date: Thu Oct 16 09:43:38 EDT 2008

Hi there,

The following snippet:

#lang scheme

(require scheme/system)
(define t (thread (lambda() (system "pause"))))
(sleep 1)
(kill-thread t)


When run in DrScheme, on XP SP3, works as expected on the first run,
with control returning to the interaction window after 1 sec, but on
the next run will leave DrScheme unresponive.

Any thoughts?

-pp





Posted on the users mailing list.