Little fix for deferred events
Steven Swerling
sswerling at yahoo.com
Fri Mar 11 20:06:34 UTC 2005
Hi Rob,
You need ought to yield the processor when processing deferred events.
(changed method below, w/ Processor yield statement).
WxMorphic is about done now. It's quite stable at this point, works
great. I'll get it up sometime this weekend.
regards,
Steve S.
====
runDeferredEventProcess
DeferredEventProcess ifNotNil: [ self stopDeferredEventProcess ].
DeferredEventProcess :=
[
[ true ] whileTrue: [
self processAction: self deferredEvents next. Processor yield.
].
] forkAt: Processor userSchedulingPriority.
More information about the Wxsqueak
mailing list