Threads, callbacks, and execution context in Ruby

Ruby