blog_id = 49079
login_uid =
author_uid = 10896
is_check= true
isRecommend= false
oscer=
is_red = false
原创
2012/03/13 22:11
阅读数 21.5W
-- Receivers always block until there is data to receive.
-- If the channel is unbuffered, the sender blocks until the receiver has received the value.
-- If the channel has a buffer, the sender blocks only until the value has been copied to the buffer( wait for copy action); if the buffer is full, this means waiting until some receiver has retrieved a value(just looks like a unbuffered channel).
展开阅读全文