We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e42bd8b commit 045e899Copy full SHA for 045e899
test/threads_exec.jl
@@ -546,20 +546,6 @@ if cfunction_closure
546
test_thread_cfunction()
547
end
548
549
-function test_thread_range()
550
- a = zeros(Int, threadpoolsize())
551
- @threads for i in 1:threadid()
552
- a[i] = 1
553
- end
554
- for i in 1:threadid()
555
- @test a[i] == 1
556
557
- for i in (threadid() + 1):threadpoolsize()
558
- @test a[i] == 0
559
560
-end
561
-test_thread_range()
562
-
563
# Thread safety of `jl_load_and_lookup`.
564
function test_load_and_lookup_18020(n)
565
@threads for i in 1:n
0 commit comments