Golang select
摘要:
Golang下select的功能和Linux IO复用中的select, poll, epoll相似,是监听 channel 操作,当 channel 操作发生时,触发相应的动作。 package main import "time" import "fmt" func main() { / 用于做 阅读全文
posted @ 2018-03-12 17:52 阳台 阅读(182) 评论(0) 推荐(0) 编辑