Skip to content

Commit

Permalink
Ch20-02 Remove reference to a long-gone "trick"
Browse files Browse the repository at this point in the history
In #1906, a workaround involving `FnBox` was removed, but the paragraph
after still makes a reference to a "trick".
  • Loading branch information
jszopi authored and carols10cents committed Jan 27, 2022
1 parent 4491cee commit 95b5e7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ch20-02-multithreaded.md
Original file line number Diff line number Diff line change
Expand Up @@ -585,8 +585,8 @@ The call to `recv` blocks, so if there is no job yet, the current thread will
wait until a job becomes available. The `Mutex<T>` ensures that only one
`Worker` thread at a time is trying to request a job.

With the implementation of this trick, our thread pool is in a working state!
Give it a `cargo run` and make some requests:
Our thread pool is now in a working state! Give it a `cargo run` and make some
requests:

<!-- manual-regeneration
cd listings/ch20-web-server/listing-20-20
Expand Down

0 comments on commit 95b5e7c

Please sign in to comment.