aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorAndrius Bentkus <andrius.bentkus@gmail.com>2015-02-25 12:46:35 +0100
committerSaúl Ibarra Corretgé <saghul@gmail.com>2015-02-26 11:35:01 +0100
commit901824ba77aa20bfa93c8a283028d1e3406c359d (patch)
tree63072da53be88f8d76b5727f5eb2e6fc1bde10cc /docs/src
parent04e40c3f24f93198efbc51ca22ff613c3fd0e52f (diff)
downloadlibuv-901824ba77aa20bfa93c8a283028d1e3406c359d.tar.gz
libuv-901824ba77aa20bfa93c8a283028d1e3406c359d.zip
doc: clarify that the thread pool primites are not thread safe
PR-URL: https://github.com/libuv/libuv/pull/227 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/threadpool.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/src/threadpool.rst b/docs/src/threadpool.rst
index 89f00844..18949507 100644
--- a/docs/src/threadpool.rst
+++ b/docs/src/threadpool.rst
@@ -18,6 +18,10 @@ libuv preallocates and initializes the maximum number of threads allowed by
``UV_THREADPOOL_SIZE``. This causes a relatively minor memory overhead
(~1MB for 128 threads) but increases the performance of threading at runtime.
+.. note::
+ Note that even though a global thread pool which is shared across all events
+ loops is used, the functions are not thread safe.
+
Data types
----------