[racket-dev] threads starve when file dialog opened. Places or GRacket2 solves?

From: John Clements (clements at brinckerhoff.org)
Date: Wed Sep 15 17:33:45 EDT 2010

As the program below illustrates on OS X, threads (and eventspaces and ...) stop when a file dialog is open.  I'm guessing that places can fix this, by actually putting something in another thread. Is there any chance that GRacket2 will fix this magically?

John



#lang racket

(require racket/gui)

(parameterize ([current-eventspace (make-eventspace)])
  (queue-callback
   (lambda ()
     (let loop ()
       (printf "abc\n")
       (sleep 1)
       (loop)))))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4669 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20100915/df8d2c55/attachment.p7s>

Posted on the dev mailing list.