Using .NET 4.0’s Task Parallel Library with IronRuby 1.1

require 'mscorlib'

include System::Threading
include System::Threading::Tasks

Parallel.For(0, 100, lambda { |a| puts a })

Sliding Sidebar