> On 08 Oct 2016, at 03:51,Quincey Morris wrote: > > Looking at the documentation a bit more carefully, though, I think it’s > implicit. Each thread, it says, can have a “current” NSProgress object, but > there can be parent-child relationships between NSProgress objects across > thread boundaries. Thus, it’s perhaps not that any individual NSProgress > object trampolines properties across thread boundaries, but that the > parent-child communication is thread-safe. > > IIRC, the way the code is structured, where I’ve used NSProgress, is that > there’s a root NSProgress associated with the > NSWindowController/NSViewController that’s driving the progress dialog, and > there’s one or more child NSProgress objects associated with each background > thread that does partial work for the overall operation. I’m not sure I’ve > ever tried multi-thread access to any *single* NSProgress object’s properties.
So it’s still true that the root NSProgress object must update its KVO compliant properties on the main thread for bindings to work, I suppose. Jan E. _______________________________________________ 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