lol.rb

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

Download (134 Bytes)

 
1
#! /usr/bin/env ruby
2
require 'threadpool'
3

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