From d373a1eb957076dfefc101271224be27bb8baf36 Mon Sep 17 00:00:00 2001 From: Jake Bolewski Date: Thu, 7 May 2015 16:24:30 -0400 Subject: [PATCH] get rid of catchall unlock method --- base/lock.jl | 2 -- 1 file changed, 2 deletions(-) diff --git a/base/lock.jl b/base/lock.jl index 277d05da189b0..67d2026615e6d 100644 --- a/base/lock.jl +++ b/base/lock.jl @@ -24,8 +24,6 @@ function lock(rl::ReentrantLock) end end -unlock(o::Any) = unlock(o.lock) - function unlock(rl::ReentrantLock) rl.reentrancy_cnt = rl.reentrancy_cnt - 1 if rl.reentrancy_cnt < 0