diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2022-01-17 09:36:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 09:36:26 +0100 |
commit | b5fa965bcb169f36ae58ebc35a48d85835f9756e (patch) | |
tree | 2a7cd44b65c7767c47fd727735185a9838e5a829 /docs/code/default-loop | |
parent | d5ed7f125642b412a7a91baa585dc934ccd185e9 (diff) | |
download | libuv-b5fa965bcb169f36ae58ebc35a48d85835f9756e.tar.gz libuv-b5fa965bcb169f36ae58ebc35a48d85835f9756e.zip |
unix: don't allow too small thread stack size (#3423)
uv_thread_create_ex() lets you set a stack size that is smaller than is
safe. It enforces a lower bound of PTHREAD_STACK_MIN (when that constant
is defined) but with musl libc that's still too small to receive signals
on.
Put the lower bound at 8192 or PTHREAD_STACK_MIN, whichever is greater.
The same restriction was already in place for the _default_ stack size.
Diffstat (limited to 'docs/code/default-loop')
0 files changed, 0 insertions, 0 deletions