RubyFlow The Ruby and Rails community linklog


The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Ruby Singletons and Threads

In an earlier episode we took a look at using singletons in Ruby. But what happens when we try to use singletons in a threaded environment? This episode will take a look at how we can solve threading issues in our singletons using the Mutex class: Ruby Singletons Threaded

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in