Skip to content

Instantly share code, notes, and snippets.

@jruby
Created January 4, 2010 18:51
Show Gist options
  • Save jruby/268738 to your computer and use it in GitHub Desktop.
Save jruby/268738 to your computer and use it in GitHub Desktop.
~/projects/jruby ➔ jruby -e 'me = nil; loop { Thread.new { me = Thread.current; Thread.main.raise("me changed!") if me != Thread.current } }'
-e:1:in `loop': me changed! (RuntimeError)
from -e:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment