For alternative branching, an identical pattern results where the fork is replaced by a decision and the join is replaced by a merge.
为了进行可选分支,会产生一个相同的模式,在其中fork被替换为decision, join被替换为merge。
This cyclic dependency between the join and the decision, and the join and the fork (where the join must be executed before the decision or fork and vice versa) is the reason why a deadlock occurs.
join和decision以及join和fork之间的这种循环依赖关系(其中join必须在decision或fork之前执行,反之亦然)便是发生死锁的原因。
Where there is a fork in the road and choices to make, make the one your future self will thank you for.
当你面临需要抉择的岔路口时,做出让自己不会后悔的选择。
应用推荐