[plt-scheme] pre-release documentation disappeared? Also, where is WAIT-FOR-IO-TO-COMPLETE?

From: Robby Findler (robby at cs.uchicago.edu)
Date: Sun Nov 26 20:26:29 EST 2006

On Nov 26, 2006, at 7:06 PM, Danny Yoo wrote:

> I'm also looking for the WAIT-FOR-IO-TO-COMPLETE function in  
> drscheme:rep:text%:
> http://download.plt-scheme.org/doc/360/html/tools/tools-Z- 
> H-142.html#node_idx_624
> In DivaScheme, I find myself hitting a race condition between  
> DivaScheme and DrScheme: I'm trying to avoid touching the  
> interaction buffer while evaluation is taking place.  I was hoping  
> to put something like:
>      (define (update-text text)
>          (wait-for-io-to-complete)
>          ... )
> within my code.  I've grepped for it, but I haven't found wait-for- 
> io-to-complete anywhere in the DrScheme code base.

Probably this isn't the way to do this -- the way to avoid race  
conditions is to do all of the modification of the drscheme editor on  
the thread of drscheme's eventspace.

Why do you want to do them on a different thread?

Also, how does IO come into this?


Posted on the users mailing list.