golang select chan, why not block? but print like dead loop

后端 未结 0 1659
星月不相逢
星月不相逢 2020-12-19 10:30

golang leaning ,i meet a question,

i think if chan have no data, for select should block, but it not, what is wrong? if you have my anwser, i would

相关标签:
回答
  • 消灭零回复
提交回复
热议问题