|
1 | 1 | # concurrency programming via rust |
2 | 2 |
|
| 3 | + |
3 | 4 |
|
4 | | -## chapter 1: Thread |
| 5 | +## How to run? |
5 | 6 |
|
6 | | -## chapter 2: Thread Pool |
| 7 | +Enter one crate such as thread and run `cargo run`. |
7 | 8 |
|
8 | | -## chapter 3: async/.await |
| 9 | +## Contents |
9 | 10 |
|
10 | | -## chapter 4: synchronization primitives |
| 11 | +I have a plan to write a book about conncurrency programming via rust. The below is the contents of it and this repo contains all source codes. |
11 | 12 |
|
12 | | -## chapter 5: concurrency collections |
| 13 | +### chapter 1: Thread |
13 | 14 |
|
14 | | -## chapter 6: process |
| 15 | +Introduces [Threads](thread/src/main.rs) in std and concurrency libs. |
15 | 16 |
|
16 | | -## chapter 7: channel |
17 | 17 |
|
18 | | -## chapter 8: timer/ticker |
| 18 | +### chapter 2: Thread Pool |
19 | 19 |
|
20 | | -## chapter 9: parking_lot |
| 20 | +Introduces [Thread pool](pool/src/main.rs) for std thread. |
21 | 21 |
|
22 | | -## chapter 10: crossbeam |
| 22 | +### chapter 3: async/await |
23 | 23 |
|
24 | | -## chapter 11: rayon |
| 24 | +Introduces [async feature](asyncwait/src/main.rs). |
25 | 25 |
|
26 | | -## chapter 12: tokio |
| 26 | +### chapter 4: synchronization primitives |
27 | 27 |
|
28 | | -## chapter n: special |
| 28 | +Introduces synchronization primitives contains [containers](container_primitive/src/main.rs) and [primitives](sync_primitive/src/main.rs) in std lib. |
| 29 | + |
| 30 | +### chapter 5: concurrency collections |
| 31 | + |
| 32 | +Introduces [concurrency collections](collections/src/main.rs) in std lib. |
| 33 | + |
| 34 | +### chapter 6: process |
| 35 | + |
| 36 | +Introduces starting and executing a new [process](process/src/main.rs) in the easy way. |
| 37 | + |
| 38 | +### chapter 7: channel |
| 39 | + |
| 40 | +Introduces each [channels](channel/src/main.rs) such as mpsc, mpmc and broadcasters. |
| 41 | + |
| 42 | +### chapter 8: timer/ticker |
| 43 | + |
| 44 | +Introduces [timer and ticker](timer_examples/src/main.rs). |
| 45 | + |
| 46 | +### chapter 9: parking_lot |
| 47 | + |
| 48 | +Introduces [parkiung_lot](parking_lot_examples/src/main.rs). |
| 49 | + |
| 50 | +### chapter 10: crossbeam |
| 51 | + |
| 52 | +Introduces [crossbeam](crossbeam_examples/src/main.rs). |
| 53 | + |
| 54 | +### chapter 11: rayon |
| 55 | + |
| 56 | +Introduces [rayon](rayon_examples/src/main.rs). |
| 57 | + |
| 58 | +### chapter 12: tokio |
| 59 | + |
| 60 | +Introduces [tokio](tokio_examples/src/main.rs). |
| 61 | + |
| 62 | + |
| 63 | +### chapter n: special |
29 | 64 |
|
30 | 65 | some special synchronization primitives and concurrency libs only for special single purpose. |
0 commit comments