[libdispatch-dev] libdispatch threads stack size

Daniel A. Steffen dsteffen at apple.com
Wed Mar 5 13:26:01 PST 2014

On OSX and iOS the stacksize of the worker threads created by the kernel for libdispatch is not configurable, sorry. The stack size used is the same as the default one for a pthread (512kb)


On Mar 5, 2014, at 9:00, Thomas Clement <tclementdev at gmail.com> wrote:

> Hello folks,
> We are using a library (out of our control) which is crashing our program apparently because it consumes all available stack space. We are not in control of the underlying threads since they are created by the libdispatch. Anything we can do here or are we back to managing pthreads?
> Regards,
> Thomas
> _______________________________________________
> libdispatch-dev mailing list
> libdispatch-dev at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/libdispatch-dev

More information about the libdispatch-dev mailing list