On Sep 11, 2009, at 6:31 AM, Paolo Manna wrote:
2009/9/11 Steve Christensen <[email protected]>:
So if you do elect to move away from straight threads, using
NSOperation
might be a better way to do it unless you're willing to require
10.6 or
later for your app's users.
Well, skimming through docs it seems that the way NSOperation ( &
-Queue) works isn't exactly the same, many things have been added in
10.6 to make difficult to maintain backward compatibility if you want
to use them in full (e.g. +mainQueue), and Dispatch Queues seem more
flexible anyway (again, not examined the thing in depth yet, so I
could be way off the mark here).
What I was getting at was not that NSOperation[Queue] or GCD was the
way to go if you were to change your threads implementation. I was
more suggesting that using NSOperation[Queue] instead of diving down
to GCD would allow you to run your app on more OS versions (if that's
important to you or your users). The latest OS release typically has
the newest, coolest features not available in previous versions. That
sometimes means that you have to elect not to use them –or find a
compatible solution for older OS versions– if you want to support
more than just the latest version.
steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [email protected]