Skip to content

Commit aef21f9

Browse files
authored
Merge pull request #215 from ucciqun/patch-1
fix: Typo(JoinHanlde -> JoinHandle)
2 parents 71dfa07 + df50999 commit aef21f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ch20-02-multithreaded.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ execution. We’ll also give each worker an `id` so we can distinguish between
927927
the different workers in the pool when logging or debugging.
928928
-->
929929

930-
スレッドプールに`JoinHanlde<()>`インスタンスのベクタを格納する代わりに、`Worker`構造体のインスタンスを格納します。
930+
スレッドプールに`JoinHandle<()>`インスタンスのベクタを格納する代わりに、`Worker`構造体のインスタンスを格納します。
931931
`Worker`が単独の`JoinHandle<()>`インスタンスを格納します。そして、`Worker`に実行するコードのクロージャを取り、
932932
既に走っているスレッドに実行してもらうために送信するメソッドを実装します。ログを取ったり、デバッグする際にプールの異なるワーカーを区別できるように、
933933
各ワーカーに`id`も付与します。

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy