Sha256: e8fb376da0bd215e5f1309a9c49c22531b2c8031e8d134eb57a628e5c785fe2d

Contents?: true

Size: 214 Bytes

Versions: 13

Compression:

Stored size: 214 Bytes

Contents

<%
  print "1"
  
  cont = "2"
  t1 = _kas.thread do
    sleep 0.5
    cont << "4"
  end
  
  t2 = _kas.thread do
    sleep 0.1
    cont << "3"
  end
  
  t1.join
  t2.join_error
  
  cont << "5"
  
  print cont
%>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
knjappserver-0.0.30 lib/pages/spec_thread_joins.rhtml
knjappserver-0.0.29 lib/pages/spec_thread_joins.rhtml
knjappserver-0.0.28 lib/pages/spec_thread_joins.rhtml
knjappserver-0.0.26 lib/pages/spec_thread_joins.rhtml
knjappserver-0.0.25 lib/pages/spec_thread_joins.rhtml
knjappserver-0.0.24 lib/pages/spec_thread_joins.rhtml
knjappserver-0.0.23 lib/pages/spec_thread_joins.rhtml
knjappserver-0.0.22 lib/pages/spec_thread_joins.rhtml
knjappserver-0.0.21 lib/pages/spec_thread_joins.rhtml
knjappserver-0.0.20 lib/pages/spec_thread_joins.rhtml
knjappserver-0.0.19 lib/pages/spec_thread_joins.rhtml
knjappserver-0.0.18 lib/pages/spec_thread_joins.rhtml
knjappserver-0.0.17 lib/pages/spec_thread_joins.rhtml