Skip to content

Instantly share code, notes, and snippets.

@NZKoz
Created December 11, 2008 15:42
Show Gist options
  • Save NZKoz/34750 to your computer and use it in GitHub Desktop.
Save NZKoz/34750 to your computer and use it in GitHub Desktop.
a = Thread.new do
begin
require 'customer'
Customer.new.scale!
rescue e
p e
end
b = Thread.new do
begin
require 'customer'
Customer.new.scale!
rescue e
p e
end
# sleep, join, whatever
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment