We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 346ea1c commit c31a318Copy full SHA for c31a318
src/send-and-sync.md
@@ -61,9 +61,15 @@ Major exceptions include:
61
62
これの主な例外には、このようなものがあります。
63
64
+<!--
65
* raw pointers are neither Send nor Sync (because they have no safety guards).
66
* `UnsafeCell` isn't Sync (and therefore `Cell` and `RefCell` aren't).
67
* `Rc` isn't Send or Sync (because the refcount is shared and unsynchronized).
68
+-->
69
+
70
+* 生ポインタは Send も Sync も実装していません (なぜなら生ポインタには安全性に関するガードが存在しないからです) 。
71
+* `UnsafeCell` は Sync を実装していません (そしてそれ故に `Cell` も `RefCell` も同様です) 。
72
+* `Rc` は Send も Sync も実装していません (なぜなら参照カウントが共有され、これは同期されないからです) 。
73
74
`Rc` and `UnsafeCell` are very fundamentally not thread-safe: they enable
75
unsynchronized shared mutable state. However raw pointers are, strictly
0 commit comments