Project

General

Profile

Bug #6634 » lol.rb

meh. (meh. I don't care), 06/23/2012 11:49 PM

 
#! /usr/bin/env ruby
require 'threadpool'

t = ThreadPool.new(1)
t.process { sleep 1; puts 'lol'; t.shutdown! }
puts 'joining'
t.join
(1-1/6)