mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Fix multi-threading example in dining-philosophers
This commit is contained in:
parent
50d305e498
commit
6e1d01f79e
@ -460,15 +460,15 @@ If you run this program, you’ll see that the philosophers eat out of order!
|
||||
We have multi-threading!
|
||||
|
||||
```text
|
||||
Gilles Deleuze is eating.
|
||||
Gilles Deleuze is done eating.
|
||||
Emma Goldman is eating.
|
||||
Emma Goldman is done eating.
|
||||
Michel Foucault is eating.
|
||||
Judith Butler is eating.
|
||||
Judith Butler is done eating.
|
||||
Gilles Deleuze is eating.
|
||||
Karl Marx is eating.
|
||||
Emma Goldman is eating.
|
||||
Michel Foucault is eating.
|
||||
Judith Butler is done eating.
|
||||
Gilles Deleuze is done eating.
|
||||
Karl Marx is done eating.
|
||||
Emma Goldman is done eating.
|
||||
Michel Foucault is done eating.
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user