mirror of https://github.com/rust-lang/rustlings
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
f714534393
info.toml: ```toml [[exercises]] name = "threads3" path = "exercises/threads/threads3.rs" mode = "test" hint = """ An alternate way to handle concurrency between threads is to use a mpsc (multiple producer, single consumer) channel to communicate. With both a sending end and a receiving end, it's possible to send values in one thread and receive them in another. Multiple producers are possible by using clone() to create a duplicate of the original sending end. See https://doc.rust-lang.org/book/ch16-02-message-passing.html for more info. """ ``` threads3'hint contains this link, so it should be placed in Further Information |
2 months ago | |
---|---|---|
.. | ||
00_intro | 8 months ago | |
01_variables | 8 months ago | |
02_functions | 8 months ago | |
03_if | 3 months ago | |
04_primitive_types | 8 months ago | |
05_vecs | 8 months ago | |
06_move_semantics | 7 months ago | |
07_structs | 8 months ago | |
08_enums | 8 months ago | |
09_strings | 3 months ago | |
10_modules | 8 months ago | |
11_hashmaps | 3 months ago | |
12_options | 3 months ago | |
13_error_handling | 8 months ago | |
14_generics | 8 months ago | |
15_traits | 8 months ago | |
16_lifetimes | 8 months ago | |
17_tests | 8 months ago | |
18_iterators | 3 months ago | |
19_smart_pointers | 8 months ago | |
20_threads | 2 months ago | |
21_macros | 8 months ago | |
22_clippy | 7 months ago | |
23_conversions | 3 months ago | |
README.md | 3 months ago | |
quiz1.rs | 11 months ago | |
quiz2.rs | 1 year ago | |
quiz3.rs | 1 year ago |
README.md
Exercise to Book Chapter mapping
Exercise | Book Chapter |
---|---|
variables | §3.1 |
functions | §3.3 |
if | §3.5 |
primitive_types | §3.2, §4.3 |
vecs | §8.1 |
move_semantics | §4.1-2 |
structs | §5.1, §5.3 |
enums | §6, §18.3 |
strings | §8.2 |
modules | §7 |
hashmaps | §8.3 |
options | §10.1 |
error_handling | §9 |
generics | §10 |
traits | §10.2 |
lifetimes | §10.3 |
tests | §11.1 |
iterators | §13.2-4 |
smart_pointers | §15, §16.3 |
threads | §16.1-3 |
macros | §19.5 |
clippy | §21.4 |
conversions | n/a |