On 01/02/2009, at 5:40 , [email protected] wrote:
Previous post indicates that NSOperationQueue only seems to work with ONE
queue.

It is worse than that, it can crash even with a single queue - the only believed safe case is to a single core processor (ie, the iPhone). Otherwise you have to accept roughly one in a million operations to crash (which may be acceptable if you are using it very sparingly).

If I nest another NSOperationQueue instead of using appController's
NSOperationQueue the BUG forces a crash every time.

Evidently this is a KNOWN bug which is supposed to be fixed in 10.6

It is a known bug - Apple have not stated that it will be fixed for 10.6.

I am going to implement my own pthreads with a tcb block to go low- level on this problem, but would LOVE to be able to use Apples high-level tools.

Have you looked at RAOperationQueue?

<http://www.rogueamoeba.com/utm/2009/01/10/raoperationqueue-102/>

That said, I don't believe its really designed for high performance so much as for ease of use.

But it might give you a starting point.

Enjoy,
   Peter.

--
     Run macros from your iPhone with Keyboard Maestro Control!
         or take a break with Derzle for your iPhone

Keyboard Maestro <http://www.keyboardmaestro.com/> Macros for your Mac
Aragom Space War <http://www.stairways.com/iphone/aragom> Don't get killed!
Derzle <http://www.stairways.com/iphone/derzle> Enjoy a relaxing puzzle.
<http://www.stairways.com/>           <http://download.stairways.com/>




_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to