On 5 Dec 2012, at 01:33, Jens Alfke <j...@mooseyard.com> wrote: > > On Dec 4, 2012, at 9:54 AM, Gerriet M. Denkmann <gerr...@mdenkmann.de> wrote: > >> My app creates lots of MyOperations (subclass of NSOperation) and puts them >> into an NSOperationQueue. >> These operations do not do any I/O - they just use the Cpu. > > But in your earlier thread you showed a code snippet that included a comment > implying that the operation code updates the UI. Does it? (Maybe it doesn’t > do it directly, but does it make a synchronous method call to other code that > does?)
When an operation has finished, it sends a message to the app delegate. Every 20th time, the app delegate then does: self.aValue = ...some number ... @property (assign) NSUInteger aValue; // aValue is bound to some NSTextField. But when I comment this out there is no impact on speed at all. Kind regards, Gerriet. _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com