Changes between Version 6 and Version 7 of CocoaIdeInternals


Ignore:
Timestamp:
Sep 1, 2015, 3:37:27 PM (4 years ago)
Author:
wws
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CocoaIdeInternals

    v6 v7  
    2424
    2525Accordingly, OpenMCL's Cocoa IDE runs an event loop ('''-[NSApplication run]''') on its initial thread; the event loop repeatedly fetches events and window update notifications from the window server, determines the objects to which these events and notifications apply, and calls methods on those objects.  There are a few differences (the IDE actually subclasses NSApplication and overrides a few NSApplication methods; the reasons for this have to do with exception-handling arcana and with the way that '''PROCESS-INTERRUPT''' interrupts the event thread), but this {event loop running on the main thread) is typical of most !AppKit applications.  The atypical things about the IDE mostly have to do with how Hemlock is integrated into it.
     26
     27As of r16524, if the GUI thread attempt to print to an IDE listener stream, that output will be dropped on the floor. This was a simplification to avoid having to deal with deadlock issues. Since the default is for the GUI thread to output to the {{{AltConsole}}}, or, if started from a command-line shell, to that shell, this shouldn't be a practical problem.
    2628
    2729== Hemlock ==