evanphx / rubinius

Rubinius, the Ruby VM

This URL has Read+Write access

rubinius / kernel / common / channel.rb
100644 12 lines (10 sloc) 0.274 kb
1
2
3
4
5
6
7
8
9
10
11
12
##
# A communication mechanism based on pi-calculus channels used primarily to
# communicate between ruby and the VM about events.
 
module Rubinius
  class Channel
    def inspect
      "#<Channel:0x%x @waiting=%p @value=%p>" % [object_id, waiting, value]
    end
  end
end