1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-07-13 17:44:20 +02:00
Files
comprehensive-rust/src/concurrency/shared-state
Frances Wingerter dfd08ebf93 concurrency: avoid 1.. loops (#2280)
Fixes #2060. Note that this does not change the "blocking executor"
example because on that slide it is worthwhile to sleep for 1 * 10ms on
the first iteration and so on. But we shouldn't use one-indexed
inclusive loops when the only significant feature of the loop is its
iteration count.
2024-08-13 14:38:22 +00:00
..
2024-08-13 14:38:22 +00:00