tiancaiamao
深入解析Go

Updated 3 years ago

g10guang (@g10guang) started discussion #34

2 years ago · 0 comments

Open

后台还有一个poller会不停地进行poll,所有的文件描述符都被添加到了这个poller中的,当某个时刻一个文件描述符准备好了,poller就会唤醒之前因它而阻塞的goroutine,于是goroutine重新运行起来。

非阻塞io (Edit this file)

poller 是一个 goroutine 般的存在吗?就像垃圾回收

No description provided.

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant