On Jul 6, 2017, at 10:33:56, Graham Cox <graham....@bigpond.com> wrote: > > > I appreciate your answer, and I realise there’s no API that could set the > stack size after the thread is created. > > But presumably the stack size of the thread is set somewhere as a parameter > to the thread when it’s created - certainly if I create a thread myself it’s > one of the attributes. So the question is is there a way to set up a value > that NSDocumentController will use when opening a file? The default stack > size seems very small, considering that dearchiving can be quite recursive in > nature.
Why can't you spawn your own thread to do the recursive code? Create the NSThread, set its stack size, light its fuse to do the processing, and delete it. -- Steve Mills Drummer, Mac geek _______________________________________________ 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