Skip to content

Commit ce5489b

Browse files
committed
update README
1 parent e58aa2f commit ce5489b

File tree

3 files changed

+48
-14
lines changed

3 files changed

+48
-14
lines changed

README.md

Lines changed: 48 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,65 @@
11
# concurrency programming via rust
22

3+
![](book/images/gear.png)
34

4-
## chapter 1: Thread
5+
## How to run?
56

6-
## chapter 2: Thread Pool
7+
Enter one crate such as thread and run `cargo run`.
78

8-
## chapter 3: async/.await
9+
## Contents
910

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.
1112

12-
## chapter 5: concurrency collections
13+
### chapter 1: Thread
1314

14-
## chapter 6: process
15+
Introduces [Threads](thread/src/main.rs) in std and concurrency libs.
1516

16-
## chapter 7: channel
1717

18-
## chapter 8: timer/ticker
18+
### chapter 2: Thread Pool
1919

20-
## chapter 9: parking_lot
20+
Introduces [Thread pool](pool/src/main.rs) for std thread.
2121

22-
## chapter 10: crossbeam
22+
### chapter 3: async/await
2323

24-
## chapter 11: rayon
24+
Introduces [async feature](asyncwait/src/main.rs).
2525

26-
## chapter 12: tokio
26+
### chapter 4: synchronization primitives
2727

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
2964

3065
some special synchronization primitives and concurrency libs only for special single purpose.

book/images/gear.png

8.8 MB
Loading

collections/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
dashmap = "5.4.0"

0 commit comments

Comments
 (0)