From 7768696a60df4961cad1f74bc6846bd4a3139f16 Mon Sep 17 00:00:00 2001 From: Orestis Malaspinas <orestis.malaspinas@hesge.ch> Date: Thu, 24 Jan 2019 00:09:07 +0100 Subject: [PATCH] need to add rayon and it's pretty much over --- presentation/intro.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/presentation/intro.md b/presentation/intro.md index 261d886..8467769 100644 --- a/presentation/intro.md +++ b/presentation/intro.md @@ -538,7 +538,8 @@ fn main() { }); println!("Recieved {:?}", rx.recv()); // recv FIFO - println!("Recieved {:?}", rx.recv()); + println!("Recieved {:?}", rx.recv()); + // when hdl/hdl2 are freed we know the channel is "closed". nobody can send new messages } </code></pre> @@ -548,6 +549,13 @@ Ce qui se passe en mémoire {#fig:mem_channel width=45%} +# External crates + +## `crates.io` + +- These are the basic concurrency primitives in the Rust std. +- For more rely on crates: `rayon` for example. + # And many more - Error handling: `Option`, `Result`. -- GitLab