Skip to content

Commit 4327d08

Browse files
authored
Update description of kernel and user thread management
Clarify the overhead comparison between thread and process switching.
1 parent 7ee0976 commit 4327d08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lec11/p1-thread.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ main: end
477477
478478
##### 内核态管理且用户态运行线程的不足
479479
480-
- 在一般情况下,线程切换开销与进程切换开销相差不大,大于用户态管理且用户态允许的线程切换开销
480+
- 在一般情况下,线程切换开销与进程切换开销相差不大,大于用户态管理且用户态运行的线程切换开销
481481
- 与传统的进程管理机制会产生一些矛盾,一些系统调用的实现功能/语义上会不协调
482482
- fork()、signal() ...
483483

0 commit comments

Comments
 (0)