diff --git a/test/threads_exec.jl b/test/threads_exec.jl index 00bd6a7684604..e62e2b42602ac 100644 --- a/test/threads_exec.jl +++ b/test/threads_exec.jl @@ -894,7 +894,7 @@ end put!(c,1) end @async begin - sleep(0.01) + #sleep(0.01) r = take!(c) end end @@ -907,7 +907,7 @@ end c = Channel(0) @sync begin @async begin - sleep(0.01) + #sleep(0.01) r = take!(c) end @async begin @@ -927,7 +927,7 @@ end put!(c,1) end @async begin - sleep(0.01) + #sleep(0.01) undefined() r = take!(c) end @@ -942,7 +942,7 @@ end c = Channel(0) f = () -> @sync begin @async begin - sleep(0.01) + #sleep(0.01) undefined() r = take!(c) end @@ -964,7 +964,7 @@ end put!(c,1) end Threads.@spawn begin - sleep(0.01) + #sleep(0.01) r = take!(c) end end @@ -977,7 +977,7 @@ end c = Channel(0) @sync begin Threads.@spawn begin - sleep(0.01) + #sleep(0.01) r = take!(c) end Threads.@spawn begin @@ -996,7 +996,7 @@ end put!(c,1) end Threads.@spawn begin - sleep(0.01) + #sleep(0.01) undefined() r = take!(c) end @@ -1010,7 +1010,7 @@ end c = Channel(0) f = () ->@sync begin Threads.@spawn begin - sleep(0.01) + #sleep(0.01) undefined() r = take!(c) end @@ -1031,7 +1031,7 @@ end put!(c,1) end Threads.@spawn begin - sleep(0.01) + #sleep(0.01) r = take!(c) end end @@ -1044,7 +1044,7 @@ end c = Channel(0) @sync begin @async begin - sleep(0.01) + #sleep(0.01) r = take!(c) end Threads.@spawn begin @@ -1063,7 +1063,7 @@ end put!(c,1) end Threads.@spawn begin - sleep(0.01) + #sleep(0.01) undefined() r = take!(c) end @@ -1077,7 +1077,7 @@ end c = Channel(0) f = () ->@sync begin @async begin - sleep(0.01) + #sleep(0.01) undefined() r = take!(c) end @@ -1098,7 +1098,7 @@ end put!(c,1) end @async begin - sleep(0.01) + #sleep(0.01) r = take!(c) end end @@ -1111,7 +1111,7 @@ end c = Channel(0) @sync begin Threads.@spawn begin - sleep(0.01) + #sleep(0.01) r = take!(c) end @async begin @@ -1130,7 +1130,7 @@ end put!(c,1) end @async begin - sleep(0.01) + #sleep(0.01) undefined() r = take!(c) end @@ -1144,7 +1144,7 @@ end c = Channel(0) f = () ->@sync begin Threads.@spawn begin - sleep(0.01) + #sleep(0.01) undefined() r = take!(c) end