Method: CRuby::Channel#initialize
- Defined in:
- lib/cruby/channel.rb
#initialize ⇒ Channel
Returns a new instance of Channel.
3 4 5 6 |
# File 'lib/cruby/channel.rb', line 3 def initialize @sendQ = CRuby::Queue.new() @recvQ = CRuby::Queue.new() end |