知识卡片

普通读书笔记卡 · 3666.a.1

spawn仅允许父子同时推进

理解等级:中级

spawn调用子过程后,父过程无需等待返回便可继续执行;

它表达可并行的逻辑依赖,是否真正同时运行取决于调度器和处理器资源。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 第26章 并行算法 · 查看原书依据

      The semantics of a spawn differs from an ordinary procedure call in that the procedure instance that executes the spawn—the parent—may continue to execute in parallel with the spawned subroutine—its child—instead of

    参考来源

    - 位置:《算法导论(第4版)》第26章《并行算法》(OEBPS/chapter026.xhtml,文本字符[10000,15000))。 - 结论依据:26.1节解释spawn语义与调度器的职责。 - 原始内容:The semantics of a spawn differs from an ordinary procedure call in that the procedure instance that executes the spawn—the parent —may continue to execute in parallel with the spawned subroutine—its child —instead of