Sha256: 427da804c646d22e2698c5d6c83ed9e64eb274fce6d3d27554caebf326d8a50d
Contents?: true
Size: 231 Bytes
Versions: 7
Compression:
Stored size: 231 Bytes
Contents
require 'bertrpc' threads = [] svc = BERTRPC::Service.new('localhost', 8000) 5.times do threads << Thread.new do i = 0 100.times { i += svc.call.calc.add(1, 2) } print "#{i}\n" end end threads.each { |t| t.join }
Version data entries
7 entries across 7 versions & 2 rubygems