[FIX][BUG][VM] long Delay schedules a deferred image crash

Lex Spoon lex at cc.gatech.edu
Sun Jan 30 21:02:08 UTC 2005


(also on Mantis; CC-ed here because a patch is included)

Asking the primitive to support long integers seems like a bit much to
me. The better solution is make a LongDelay class which can handle huge
delays. There would have to be a background process periodically
checking for LongDelay's that are close to coming into effect, and
schedule a regular Delay if so.

That's a lot of work. How about, for now, we have class Delay simply
refuse to create long-waiting instances? It's a shame not to support
long-running delays, but this would seem much better than the current
situation.

Patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noLongDelays-ls.1.cs
Type: application/octet-stream
Size: 1323 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20050130/5502d1d1/noLongDelays-ls.1.obj


More information about the Squeak-dev mailing list