Skip to content

Commit de2e4ce

Browse files
committed
换一个更恰当的例子
1 parent 112029d commit de2e4ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syscall.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,4 +666,4 @@ func entersyscall_gcwait() {
666666

667667
同时 runtime 又保留了自己的特权,在执行自己的逻辑的时候,我的 P 不会被调走,这样保证了在 Go 自己“底层”使用的这些 syscall 返回之后都能被立刻处理。
668668

669-
所以同样是 epollcreate,runtime 用的是不能被别人打断的,你用的 syscall.EpollCreate 那显然是没有这种特权的。
669+
所以同样是 epollwait,runtime 用的是不能被别人打断的,你用的 syscall.EpollWait 那显然是没有这种特权的。

0 commit comments

Comments
 (0)