diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2022-10-18 23:06:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-18 23:06:47 +0200 |
commit | 73b0c1f947646545bc824f868559ca3437340656 (patch) | |
tree | bac4882ef405e3261d6a628408a31b16932eb884 /docs/src | |
parent | 3e7d2a649275cce3c2d43c67205e627931bda55e (diff) | |
download | libuv-73b0c1f947646545bc824f868559ca3437340656.tar.gz libuv-73b0c1f947646545bc824f868559ca3437340656.zip |
unix,win: give thread pool threads an 8 MB stack (#3787)
Give the threads in the thread pool a stack size that is consistent
across platforms and architectures.
Fixes: https://github.com/libuv/libuv/issues/3786
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/threadpool.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/src/threadpool.rst b/docs/src/threadpool.rst index cf6cdc1b..7cfa7973 100644 --- a/docs/src/threadpool.rst +++ b/docs/src/threadpool.rst @@ -14,6 +14,9 @@ is 1024). .. versionchanged:: 1.30.0 the maximum UV_THREADPOOL_SIZE allowed was increased from 128 to 1024. +.. versionchanged:: 1.45.0 threads now have an 8 MB stack instead of the + (sometimes too low) platform default. + The threadpool is global and shared across all event loops. When a particular function makes use of the threadpool (i.e. when using :c:func:`uv_queue_work`) libuv preallocates and initializes the maximum number of threads allowed by |