Re: Need NSOperation replacement for Tiger (10.4)
Re: Need NSOperation replacement for Tiger (10.4)
- Subject: Re: Need NSOperation replacement for Tiger (10.4)
- From: "Adam R. Maxwell" <email@hidden>
- Date: Mon, 24 Aug 2009 07:21:35 -0700
On Aug 24, 2009, at 5:47 AM, Rob Keniger wrote:
On 24/08/2009, at 10:25 PM, Michael A. Crawford wrote:
I have written an application that uses the NSOperation and
NSOperationQueue classes. My customer now wants me to make it run
on Tiger. Before I try to write my own limited version of
NSOperation and NSOperationQueue that creates threads based on the
number of available processing cores (I know there is more to a
good implementation than that), I though someone out there might
have already done so. So, I'm looking for a drop in implementation
I can insert into my existing CDAppTask class.
There's RAOperationQueue:
I wrote an implementation as part of my FileView framework at http://fileview.googlecode.com
(BSD license). As far as features, it's somewhere between
NSOperationQueue and RAOperationQueue; e.g., I don't support
dependencies, since I don't need them, and the concurrent task
scheduling doesn't try to adjust based on load. However, it should be
easy to extract from the framework, and it's been tested and used on
Tiger and later.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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