
Testing
Testing Concurrent Rust Code With Loom Interleavings
Stress tests find concurrency bugs by luck. Loom explores every legal ordering of your threads and memory operations, so a missing Acquire fails deterministically.
3 min read
Tag
2 posts

Stress tests find concurrency bugs by luck. Loom explores every legal ordering of your threads and memory operations, so a missing Acquire fails deterministically.

buffer_unordered runs up to N futures from a stream at once and yields results as they finish. See bounded fan out, error handling and how it differs from join_all.