Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmwagar committed Apr 15, 2019
1 parent 559dd5c commit 21e6cb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/posts/code/multithreading-rust/index.en.md
Expand Up @@ -15,7 +15,7 @@ Multi-threading, Concurrency, and Parallelism are hard and can be scary. With pr

## Multi-threading

There are multiple ways that Rust can help us prevent data-race and enforce thread safety.
There are multiple ways that Rust can help us prevent data-races and enforce thread safety.

### Arc & Mutex

Expand Down Expand Up @@ -64,7 +64,7 @@ fn main() {
}
```

In the example above we safely mutate an integer across threads, this can be applied with larger data types, however, for event-based interaction across threads I recommend using an `MPSC` (Multi-Producer, Single Consumer) channel.
In the example above, we safely mutate an integer across threads. This can be applied with larger data types, however, for event-based interaction across threads, I recommend using an `MPSC` (Multi-Producer, Single Consumer) channel.

### MPSC Channels

Expand Down

0 comments on commit 21e6cb7

Please sign in to comment.