diff options
author | Douman <douman@gmx.se> | 2019-12-18 19:31:49 +0100 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2019-12-18 10:31:49 -0800 |
commit | b24ad9fe861ce01add2c6533149f643e38537f59 (patch) | |
tree | d24cbe308eb58bffb4eb0af8e507e1889a8afa32 /tokio/src/sync/watch.rs | |
parent | 7c010ed030d0084d38451bbebf727c6695c2dbac (diff) |
rt: add configuration for core threads and max threads (#1977)
`num_threads` is deprecated. Instead, `core_threads` and `max_threads` are
introduced. `core_threads` specifies the number of "always on" threads used
for the async task executor and `max_threads` specifies the maximum number
of threads that the runtime may spawn.
Diffstat (limited to 'tokio/src/sync/watch.rs')
0 files changed, 0 insertions, 0 deletions