On Sun, Mar 15, 2009 at 10:34 AM, Shawn Erickson <shaw...@gmail.com> wrote:
> On Sun, Mar 15, 2009 at 1:40 AM, Paul Sanders <p.sand...@dsl.pipex.com> wrote:
>>>> I am used to a more robust threading model.
>>
>>> I'm curious, what is not "robust" about the Cocoa threading model, and
>>> what are you comparing it to?
>>
>> Well, only being able to draw and process events on the main thread mainly.
>
> You can _draw_ from a secondary thread (or multiple secondary threads)
> when using AppKit.

I'd move that emphasis to a different word: *you* can draw from a
secondary thread. I.e. your custom view can do threaded drawing. But
touching AppKit controls from a secondary thread is a quick path to a
misbehaving application.

For all intents and purposes, Cocoa's GUI side is main-thread-only.
The few exceptions to that rule are more about performance than
convenience.

Mike
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to