This website uses cookies to ensure you get the best experience.
Learn more.
Two parallel branches both write to one shared mutable accumulator. What is the safer design review recommendation?
Published
- Assume visual left-to-right placement guarantees runtime completion order.
- Depend on whichever branch happens to finish last.
- Disable all branch faults and ignore missing values.
- Use branch-specific results and combine them after the parallel work using supported constructs.
Comments — 0
Sign in to comment