File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -87,11 +87,19 @@ safe.
8787もう既にアンセーフです。その意味で、これらをスレッドセーフとしてマークしても
8888"問題ない" と論じることも可能と言えるでしょう。
8989
90+ <!--
9091However it's important that they aren't thread safe to prevent types that
9192contain them from being automatically marked as thread safe. These types have
9293non-trivial untracked ownership, and it's unlikely that their author was
9394necessarily thinking hard about thread safety. In the case of Rc, we have a nice
9495example of a type that contains a `*mut` that is definitely not thread safe.
96+ -->
97+
98+ しかしながら、これらの型を含んでいる型が、自動的にスレッドセーフとしてマークされないようにするために、
99+ これらがスレッドセーフではないということは重要です。これらの型は、些細ではない、そして追跡されない
100+ 所有権を持ち、これらを書いた人が、本当にスレッドセーフについて熟考することは考えにくいです。
101+ Rc の場合においては、 ` *mut ` を含んでいる型が絶対にスレッドセーフではない、ということに関する
102+ 素晴らしい例があります。
95103
96104Types that aren't automatically derived can simply implement them if desired:
97105
You can’t perform that action at this time.
0 commit comments