views:

21

answers:

0

In building an iPhone app, I created a secondary thread to handle real-time tasks.

Apple Developer documentation seems to indicates a "recommended/maximum" stack size of 512KB (524288 bytes) for secondary threads. http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/Multithreading/CreatingThreads/CreatingThreads.html

Does anyone know if NSThread imposes an upper limit to stack sizes for secondary threads? (other than the obvious, "when you run out of stack+heap space, than that is the upper limit")

Apple documentation is unclear.

Below is a question about iPhone stacks, but does not address the issue. http://stackoverflow.com/questions/2918691/is-there-stack-size-in-iphone