You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, we make a [struct][struct] to represent a philosopher. For now, a name is all we need. We choose the [String][string] type for the name, rather than &str.
The links here are broken
While this is only five lines, they’re a dense four. Let’s break it down.
Should be: "While this is only five lines, they’re a dense five. Let’s break it down."
If you run this program, you’ll see that the philosophers eat out of order! We have mult-threading!
multi-threading
The text was updated successfully, but these errors were encountered:
http://doc.rust-lang.org/stable/book/dining-philosophers.html
I can't fix these myself until later, anyone else want to do it? cc @steveklabnik @killercup @geofft
The links here are broken
Should be: "While this is only five lines, they’re a dense five. Let’s break it down."
The text was updated successfully, but these errors were encountered: