Re: CFRunLoopStop exception
Re: CFRunLoopStop exception
- Subject: Re: CFRunLoopStop exception
- From: vincent habchi <email@hidden>
- Date: Fri, 9 Apr 2010 14:19:11 +0200
Steve,
> Pulling these out, it may be time to look at WAYRTTD.
>
> Creating/destroying lots of threads to render tiles seems massively inefficient for lots of reasons and Mac OS X has much better mechanisms for this.
>
> Depending on what minimum OS requirements you might get much better results using Grand Central Dispatch or any of a number of appropriate approaches like Operation Queues or Dispatch Queues, down to managing your own pool of worker threads with a number of threads on the order of the number of cores available.
Thanks for the hint. As a first step, I try to get everything working. I was planning to dig into GCD at a later point, when every obvious bug will be fixed and a minimum reached. I might also look at OpenCL for a variety of things.
Cheers,
Vincent
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden