[plt-scheme] handling user-breaks in MrEd app...

From: Jefferson Provost (jp at cs.utexas.edu)
Date: Thu Oct 31 01:34:23 EST 2002

Matthew Flatt wrote:
> At Wed, 30 Oct 2002 17:58:45 -0600, Jefferson Provost wrote:
> 
>>I'm writing a graphical MrEd app, and though most interaction will be 
>>through graphical objects, I want to run a repl for debugging and other 
>>stuff.  I don't want to use MrEd's graphical repl, but when I do mred 
>>-z, the stdio repl never yields to give events/time to my graphical 
>>objects. 
> 
> 
> If you have some aversion to DrScheme, use -z and evaluate
> 
>  (current-eventspace (make-eventspace))
 >
>
> to make the a GUI handler thread that is separate from the REPL thread.

Oh yeah, this is much better.  My other code runs faster, too. ;-)

Thanks,
J.





Posted on the users mailing list.