From 65c87d6fabffb6f4e397718ab4ee99c01cf664a1 Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Sat, 18 Sep 2021 23:13:29 -0400 Subject: [PATCH] Remove a redundant state check --- src/dlcrq.jl | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/dlcrq.jl b/src/dlcrq.jl index e397b12..2a1a06d 100644 --- a/src/dlcrq.jl +++ b/src/dlcrq.jl @@ -365,9 +365,6 @@ function denqueue!( if x isa Waiter{T} return Some{T}(y) else - if (@atomic y.state) == WAITER_INTERRUPTED - break # try the next slot - end return y end end