Skip to content

Commit

Permalink
get rid of catchall unlock method
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebolewski committed May 7, 2015
1 parent d2fe03f commit d373a1e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions base/lock.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d373a1e

Please sign in to comment.