threads3 solution

This commit is contained in:
mo8it
2024-07-01 11:23:40 +02:00
parent dfa2b44f71
commit a13e3cd07f
3 changed files with 80 additions and 15 deletions
+3 -2
View File
@@ -1076,10 +1076,11 @@ An alternate way to handle concurrency between threads is to use an `mpsc`
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
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."""
Related section in The Book:
https://doc.rust-lang.org/book/ch16-02-message-passing.html"""
# MACROS