repo.or.cz
/
rbx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Change soft-fail to use the config, rather than env
[rbx.git]
/
kernel
/
core
/
channel.rb
blob
6254446f8fd9406c5eeeab535a499db4bf766874
1
# depends on: class.rb
2
3
##
4
# A communication mechanism based on pi-calculus channels used primarily to
5
# communicate between ruby and the VM about events.
6
7
class Channel
8
alias_method :<<, :send
9
10
def inspect
11
"#<Channel:0x%x @waiting=%p @value=%p>" % [object_id, waiting, value]
12
end
13
end