知识卡片
执行与时序的共变
执行共变要求步骤按正确顺序发生,例如先设置邮件属性再发送;时序共变要求并发或时间关系满足条件,例如竞态会改变结果。它们依赖运行行为,往往比源码名称更难全面分析,适合通过接口设计或验证缩小错误机会。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 执行与时序的共变
原书出处 · 1 处
- Evolutionary Architecture Topologies · 查看原书依据
It won’t work correctly because certain properties must be set in order. Connascence of Timing (CoT) The timing of the execution of multiple components is important. The common case for this type of connascence is a race condition caused by two threads executing at the same time, affecting the outcome of the joint operation.
参考来源
- 位置:《Building Evolutionary Architectures Automated Software Governance, 2nd Edition》第05章《Evolutionary Architecture Topologies》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Evolutionary Architectures Automated Software Governance, 2nd Edition/_epub-src/OEBPS/ch05.html;段落定位:It won’t work correctly because certain properties)
- 结论依据:原文对“执行与时序的共变”的定义或案例,支撑“执行共变要求步骤按正确顺序发生,例如先设置邮件属性再发送;时序共变要求并发或时间关系满足条件,例如竞态会改变结果”的归纳。据其上下文,它们依赖运行行为,往往比源码名称更难全面分析,适合通过接口设计或验证缩小错误机会。
- 原始内容:It won’t work correctly because certain properties must be set in order. Connascence of Timing (CoT) The timing of the execution of multiple components is important. The common case for this type of connascence is a race condition caused by two threads executing at the same time, affecting the outcome of the joint operation.