timing out a method call

Brian Murphy-Dye brian.murphydye at mac.com
Thu Oct 21 15:03:32 UTC 2004


I like it -- thanks for sharing!


On Oct 21, 2004, at 5:08 AM, Boris Gaertner wrote:

>
> From: "Chris Wright" <wrightca at hotmail.com>
> To: <squeak-dev at lists.squeakfoundation.org>
> Sent: Thursday, October 21, 2004 3:05 AM
> Subject: timing out a method call
>
>
> > I wan't to be able to "give up" on a method call if it doesn't return
> within
> > some time interval ... is there some way of "waiting on on a return
> value"?
> > SocketStream has a timeout, but is there a more general method?
> >
> > like someCode value: v timeOut: t.
> >
>
> Allan M. Schiffman (http://c2.com/cgi-bin/wiki?AllanSchiffman)
> (http://webpages.charter.net/allanms/)
> published a solution for Smalltalk-80 vs. 2.4.
> It can be found in the August 1989 issue of the ParcPlace newsletter.
> This newsletter is now difficult to find, so I attach Allans column to 
> this
> mail (file: Schiffman.htm)
> File SchiffmansTimeout.1.cs.gz is a compressed change set with
> Allans solution adapted to Squeak 3.7.
>  
> This old stuff is still inspiring!
>  
> Greetings, Boris
>
> <Schiffman.htm><SchiffmansTimeOut.1.cs.gz>




More information about the Squeak-dev mailing list