Changes between Version 6 and Version 7 of Ruby Client Tutorial


Ignore:
Timestamp:
Aug 18, 2011 1:13:36 PM (13 years ago)
Author:
kedwar10
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Ruby Client Tutorial

    v6 v7  
    9696
    9797{{{
    98 irb(main):014:0> t = Thread.new {move(q, 1000, 00)}
    99 => #<Thread:0xb7747ff4 run>
    100 irb(main):015:0> t
    101 => #<Thread:0xb7795948 sleep>
    102 irb(main):016:0> t
    103 => #<Thread:0xb7795948 dead>
    104 irb(main):017:0> t.value
     98irb(main):023:0> t = Thread.new {move(q, 1000, 0)}
     99=> #<Thread:0xb7755974 run>
     100irb(main):024:0> t.status
     101=> "sleep"
     102irb(main):025:0> t.status
     103=> "sleep"
     104irb(main):026:0> t.status # terminated normally
     105=> false
     106irb(main):027:0> t.value # move returns nil
    105107=> nil
    106108}}}