Changes between Version 3 and Version 4 of CocoaIdeInternals


Ignore:
Timestamp:
Nov 11, 2007, 8:20:18 PM (12 years ago)
Author:
joswig
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CocoaIdeInternals

    v3 v4  
    55== !AppKit and threads ==
    66
    7 There are differences of opinion as to whether or not !AppKit (the GUI parts of Cocoa) is thread-aafe. [http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/articles/CocoaSafety.html Apple's take on the issue] may strike many people as being a bit inconclusive.  A few things that I think can be safely said include:
     7There are differences of opinion as to whether or not !AppKit (the GUI parts of Cocoa) is thread-safe. [http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/articles/CocoaSafety.html Apple's take on the issue] may strike many people as being a bit inconclusive.  A few things that I think can be safely said include:
    88
    99 * Low-level communication with the window server - the basis for event-processing and redisplay - works best if the event loop is run on the initial thread (the thread that was created by the OS when the process was run.)  It's not clear that this communication works at all from other threads (that may depend on !AppKit version), and it's clear that a scheme which allowed multiple threads to obtain events from the window server would introduce serialization issues.