Skip to content

Commit 77225d4

Browse files
authored
Merge pull request getify#1054 from guymelef/patch-1
Fix typo
2 parents 8f2f05b + 0345308 commit 77225d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

async & performance/ch4.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ function *bar() {
299299
}
300300
```
301301

302-
Depending on what respective order the *iterators* controlling `*foo()` and `*bar()` are called, the preceding program could produce several different results. In other words, we can actually illustrate (in a sort of fake-ish way) the theoretical "threaded race conditions" circumstances discussed in Chapter 1, by interleaving the two generator interations over the same shared variables.
302+
Depending on what respective order the *iterators* controlling `*foo()` and `*bar()` are called, the preceding program could produce several different results. In other words, we can actually illustrate (in a sort of fake-ish way) the theoretical "threaded race conditions" circumstances discussed in Chapter 1, by interleaving the two generator iterations over the same shared variables.
303303

304304
First, let's make a helper called `step(..)` that controls an *iterator*:
305305

0 commit comments

Comments
 (0)