5.|5. Nondeterminism
Definitions
【5.|5. Nondeterminism】Non-determinism in design: a property of a computation which may have more than one result.
Non-determinism in interaction: A property of the operation environment which may lead to different sequences of concurrent stimuli.
Advantage
- The compiler can directly translate the source code into a concurrent implementation.
- Implementation gains potentially significantly in performance.
- The programmer do not need to handle any of the details of a concurrent implementation
Select_statement: selective_accept, conditional_entry-call, time_entry, asynchronous_select
- selective_accept
First: select-accept
Second:select-guarded-accept
Third:select-guarded-accept-delay
Fourth:select-guard-accept-terminate
Fifth:select-guard-accept-else
- Correctness predicates needs to hold true irrespective of the actual sequence of interaction point.
- Correctness predicates needs to hold true for all possible sequence of interaction point.
推荐阅读
- 宽容谁
- 我要做大厨
- 增长黑客的海盗法则
- 画画吗()
- 2019-02-13——今天谈梦想()
- 远去的风筝
- 三十年后的广场舞大爷
- 叙述作文
- 20190302|20190302 复盘翻盘
- 学无止境,人生还很长