libuv/src
Ben Noordhuis 28d160f3de darwin: make thread stack multiple of page size
pthread_attr_setstacksize() expects that the stack size is a multiple of
the page size so make sure that it is.

Fixes a regression introduced in commit 3db07cc ("osx: set the default
thread stack size to RLIMIT_STACK") that made the program abort under
certain configurations; GNU Emacs on OS X apparently sets RLIMIT_STACK
to odd values when executing child processes.

Fixes: https://github.com/nodejs/node/issues/6563
PR-URL: https://github.com/libuv/libuv/pull/864
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
2016-05-10 18:19:46 +02:00
..
unix darwin: make thread stack multiple of page size 2016-05-10 18:19:46 +02:00
win win: remove unneeded condition 2016-05-06 09:54:20 +02:00
fs-poll.c unix, win: count null byte on UV_ENOBUFS 2016-03-03 09:23:10 +01:00
heap-inl.h heap: fix heap_remove() 2014-05-23 20:04:42 +04:00
inet.c win: use the MSVC provided snprintf where possible 2015-09-29 09:01:33 +02:00
queue.h unix: use QUEUE_MOVE when iterating over lists 2015-10-08 21:47:43 +02:00
threadpool.c src: replace QUEUE_SPLIT with QUEUE_MOVE 2015-10-08 21:46:48 +02:00
uv-common.c unix: guard against clobbering errno in uv__free() 2016-04-18 13:38:04 +02:00
uv-common.h win: use the MSVC provided snprintf where possible 2015-09-29 09:01:33 +02:00
version.c core: add UV_VERSION_HEX macro 2015-06-29 23:08:41 +02:00