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>
This commit is contained in:
parent
04e40c3f24
commit
901824ba77
@ -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
|
||||
----------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user