rt: Remove threaded_scheduler() and basic_scheduler() (#2876)

Co-authored-by: Alice Ryhl <[email protected]>
Co-authored-by: Carl Lerche <[email protected]>
This commit is contained in:
Lucio Franco
2020-10-12 13:44:54 -04:00
committed by GitHub
co-authored by Alice Ryhl Carl Lerche
parent 0893841f31
commit 8880222036
90 changed files with 1480 additions and 1698 deletions
-3
View File
@@ -94,10 +94,7 @@ where
impl BlockingPool {
pub(crate) fn new(builder: &Builder, thread_cap: usize) -> BlockingPool {
let (shutdown_tx, shutdown_rx) = shutdown::channel();
#[cfg(feature = "blocking")]
let keep_alive = builder.keep_alive.unwrap_or(KEEP_ALIVE);
#[cfg(not(feature = "blocking"))]
let keep_alive = KEEP_ALIVE;
BlockingPool {
spawner: Spawner {