RubyFlow The Ruby and Rails community linklog

Ruby Singletons and Threads

In an earlier MetaCasts.tv 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