Skip to content

Commit b852b20

Browse files
shubham08guptaqwwdfsaddkhalanskyjb
authored
Use correct wording in shared-mutable-state-and-concurrency.md (#2734)
Using Dispatchers.Default we can make the coroutines run *parallelly*. Co-authored-by: Vsevolod Tolstopyatov <[email protected]> Co-authored-by: dkhalanskyjb <[email protected]>
1 parent c2d218a commit b852b20

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
[//]: # (title: Shared mutable state and concurrency)
44

5-
Coroutines can be executed concurrently using a multi-threaded dispatcher like the [Dispatchers.Default]. It presents
6-
all the usual concurrency problems. The main problem being synchronization of access to **shared mutable state**.
5+
Coroutines can be executed parallelly using a multi-threaded dispatcher like the [Dispatchers.Default]. It presents
6+
all the usual parallelism problems. The main problem being synchronization of access to **shared mutable state**.
77
Some solutions to this problem in the land of coroutines are similar to the solutions in the multi-threaded world,
88
but others are unique.
99

@@ -510,4 +510,4 @@ have to switch to a different context at all.
510510
[actor]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.channels/actor.html
511511
[produce]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.channels/produce.html
512512

513-
<!--- END -->
513+
<!--- END -->

0 commit comments

Comments
 (0)