mkschreder / orangerpcd

Websocket RPC server for OpenWRT
Other
27 stars 11 forks source link

increase thread-stack-size to 128k on musl #5

Closed mk-f closed 8 years ago

mk-f commented 8 years ago

musl provides a default stack size of 80k for new threads [0], which is at the moment not enough for jucid, resulting in unaccessible memory and segfaults. This merge increases the stack-size to 128k which seems to be enough.

[0] http://wiki.musl-libc.org/wiki/Functional_differences_from_glibc#Thread_stack_size