Sha256: aaf80b9e52741ca65732ae139ea9d808531aca1827a4bdb3695659a7f83efa43
Contents?: true
Size: 283 Bytes
Versions: 20
Compression:
Stored size: 283 Bytes
Contents
require 'bertrpc' $stdout.sync = true threads = [] svc = BERTRPC::Service.new('localhost', 8000) 8.times do threads << Thread.new do i = 0 10.times { i += svc.call.calc.add(1, 2); print '.'; $stdout.flush } print "(#{i})" end end threads.each { |t| t.join } puts
Version data entries
20 entries across 20 versions & 3 rubygems