Skip to content

Commit 86559c6

Browse files
hhzrzelizarov
authored andcommitted
Update shared-mutable-state-and-concurrency.md
only 100 coroutines get started not 1000.
1 parent 2ae42b9 commit 86559c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/shared-mutable-state-and-concurrency.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Completed 100000 actions in
108108
Counter =
109109
-->
110110

111-
What does it print at the end? It is highly unlikely to ever print "Counter = 100000", because a thousand coroutines
111+
What does it print at the end? It is highly unlikely to ever print "Counter = 100000", because a hundred coroutines
112112
increment the `counter` concurrently from multiple threads without any synchronization.
113113

114114
> Note: if you have an old system with 2 or fewer CPUs, then you _will_ consistently see 100000, because

0 commit comments

Comments
 (0)