Skip to content

Commit b833daa

Browse files
committed
update netpoll
1 parent d6a196d commit b833daa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netpoll.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ func netpollopen(fd uintptr, pd *pollDesc) int32 {
405405

406406
pollDesc 初始化好之后,会当作 epoll event 的数据存储到 ev.data 中。 当有事件就续时,会取 ev.data,以判断是哪个 fd 可读/可写。
407407

408-
TODO,conn 是什么时候赋值给 Conn 类型的?
408+
`type conn struct` 是在 accept 阶段赋值给 `type Conn interface` 的。
409409

410410
### accept 流程
411411

0 commit comments

Comments
 (0)