<span class='ident'>Duration</span>::<span class='ident'>from_millis</span>(<span class='number'>50</span>));
}</pre>

<!-- Note that the value of `i` is bound (copied) to the closure and not shared
among the threads. -->

<p><code>i</code> の値はクロージャへ束縛(コピー)されるだけで、スレッド間で共有されるわけではないことに注意してください。</p>

<!-- Also note that [`lock`](../std/sync/struct.Mutex.html#method.lock) method of -->

<!-- [`Mutex`](../std/sync