This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-github
/
ruby--ruby
mirror of
https://github.com/ruby/ruby.git
Watch
1
Star
0
Fork
You've already forked ruby--ruby
0
Code
Releases
Activity
bdf32ff14f
ruby--ruby
/
prelude.rb
13 lines
100 B
Ruby
Raw
Blame
History
# Mutex
class
Mutex
def
synchronize
self
.
lock
yield
ensure
self
.
unlock
end
end
View Git Blame
Copy Permalink