【问题标题】:What are methods used to identify the system call and pass function tasks to the operating system?有哪些方法可以识别系统调用并将函数任务传递给操作系统?
【发布时间】:2015-11-12 07:04:06
【问题描述】:

这是基于在 CPU 上调度进程的上下文切换吗?我有点不明白这是如何工作的

【问题讨论】:

标签: windows function linux-kernel operating-system system-calls


【解决方案1】:

系统调用不是基于上下文切换的。上下文切换是在 cpu 上运行的进程的交换。将使用哪个调用取决于系统调用号,该系统调用号用作系统调用表中的索引。只有进程上下文从用户更改为内核。我总是建议阅读理解 linux 内核的好书

【讨论】:

    猜你喜欢
    • 2016-06-08
    • 2014-07-06
    • 1970-01-01
    • 2011-08-11
    • 2021-07-01
    • 1970-01-01
    • 2014-04-19
    • 1970-01-01
    相关资源
    最近更新 更多