DNS lookup problems in HTTP

Lex Spoon lex at cc.gatech.edu
Sat Nov 2 23:21:29 UTC 2002


Lex Spoon <lex at cc.gatech.edu> wrote:
> 
> The method retry:asking:ifGiveUp:  has been modified to run from a
> background thread -- but it seems to now *assume* it is running from a
> background thread!  Instead of "sema wait", it needs to do something
> like "WorldState runWaitingOnSema: sema" or "WorldState runUntil: [ sema
> isSignaled]".  Are there methods of this kind in WorldState?!
> 

Oh, an alternative would be for addDeferredUIMessage: to run its code
immediately if you are, in fact, in the UI thread.  I'm not sure how to
detect this, though.

-Lex



More information about the Squeak-dev mailing list