Skip to content

Commit 37d19aa

Browse files
committed
update sc
1 parent 50ffc47 commit 37d19aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

syscall.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,10 @@ TEXT runtime·read(SB),NOSPLIT,$0-28
345345

346346
## 和调度的交互
347347

348+
既然要和调度交互,那友好地通知我要 syscall 了: entersyscall,我完事了: exitsyscall。
349+
350+
所以这里的交互指的是用户代码使用 syscall 库时和调度器的交互。**runtime 里的 syscall 不走这套流程**
351+
348352
### entersyscall
349353

350354
```go

0 commit comments

Comments
 (0)