Sha256: 41442909af02156bf9b3ecd172ba4318d34b46273a001709853ad3861d2b52d8
Contents?: true
Size: 425 Bytes
Versions: 11
Compression:
Stored size: 425 Bytes
Contents
<% #Knj.p _hb.config #exit print "1" cont = "2" t1 = _hb.thread(:id => 4) do sleep 0.5 cont << "4" end t2 = _hb.thread(:id => 3) do sleep 0.3 cont << "3" end sleep 0.1 raise "Expected thread 1 to be running but it wasnt." if !t1.running? raise "Expected thread 2 to be running but it wasnt." if !t2.running? t1.join t2.join_error cont << "5" print cont %>
Version data entries
11 entries across 11 versions & 1 rubygems