Revision history for ioProcessEvents

Revision [419]

Last edited on 2010-09-12 21:45:06 by JohnMcIntosh
Note in summer of 2010 we changed the VM logic so that you could choose between running the VM as a sub process or off the main run loop. The problem with running as a sub process is that UIKit and Cocoa NSView interaction plus much of any Objective-C bridge work requires you to run on the main Thread. Although you can queue requests to run on the main thread, this fails with deadlock issues when you add UIKit or Cocoa Delegate callbacks to Squeak Proxy objects. So now the VM runs off the Main Thread and uses the runLoop call to service pending UI events.

Revision [418]

Edited on 2010-09-12 21:42:29 by JohnMcIntosh
See iPhone, but subclassed to also invoke NSApp sendEvent: after running the run loop.
Clone of macintosh, but includes logic to run the runloop
Clone of macintosh

Revision [183]

The oldest known version of this page was created on 2008-10-16 23:00:43 by JohnMcIntosh
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki