diff options
| author | ywxt <ywxtcwh@gmail.com> | 2025-06-25 19:38:40 +0800 |
|---|---|---|
| committer | ywxt <ywxtcwh@gmail.com> | 2025-06-28 17:58:20 +0800 |
| commit | 0ceac216c9ea96b4b63cba77ae1fabfc8e0320a1 (patch) | |
| tree | f5fbd7d559d9c36276958d2a7673cf57991fc666 /compiler/rustc_thread_pool/src/thread_pool | |
| parent | d41e12f1f4e4884c356f319b881921aa37040de5 (diff) | |
Only work-steal in the main loop for rustc_thread_pool
Co-authored-by: Zoxc <zoxc32@gmail.com>
Diffstat (limited to 'compiler/rustc_thread_pool/src/thread_pool')
| -rw-r--r-- | compiler/rustc_thread_pool/src/thread_pool/tests.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/rustc_thread_pool/src/thread_pool/tests.rs b/compiler/rustc_thread_pool/src/thread_pool/tests.rs index 42c99565088..9feaed7efd0 100644 --- a/compiler/rustc_thread_pool/src/thread_pool/tests.rs +++ b/compiler/rustc_thread_pool/src/thread_pool/tests.rs @@ -152,6 +152,7 @@ fn self_install() { } #[test] +#[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] fn mutual_install() { let pool1 = ThreadPoolBuilder::new().num_threads(1).build().unwrap(); @@ -172,6 +173,7 @@ fn mutual_install() { } #[test] +#[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] fn mutual_install_sleepy() { use std::{thread, time}; @@ -227,6 +229,7 @@ macro_rules! test_scope_order { } #[test] +#[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] fn scope_lifo_order() { let vec = test_scope_order!(scope => spawn); @@ -235,6 +238,7 @@ fn scope_lifo_order() { } #[test] +#[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] fn scope_fifo_order() { let vec = test_scope_order!(scope_fifo => spawn_fifo); @@ -276,6 +280,7 @@ fn spawn_fifo_order() { } #[test] +#[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] fn nested_scopes() { // Create matching scopes for every thread pool. @@ -312,6 +317,7 @@ fn nested_scopes() { } #[test] +#[ignore] #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] fn nested_fifo_scopes() { // Create matching fifo scopes for every thread pool. |
