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 9732d7b commit 2cdd812Copy full SHA for 2cdd812
src/send-and-sync.md
@@ -4,10 +4,17 @@
4
5
# Send と Sync
6
7
+<!--
8
Not everything obeys inherited mutability, though. Some types allow you to
9
multiply alias a location in memory while mutating it. Unless these types use
10
synchronization to manage this access, they are absolutely not thread safe. Rust
11
captures this through the `Send` and `Sync` traits.
12
+-->
13
+
14
+すべてのものが継承可変性に従っているわけではありません。が、いくつかの型においては、
15
+メモリ上の場所の値を変更している間に、複数のエイリアスを生成することが可能です。
16
+型がこのアクセスを管理するために同期を行なわない限り、これは絶対スレッドセーフでは
17
+ありません。 Rust ではこれを、 `Send` トレイトと `Sync` トレイトでキャプチャしています。
18
19
* A type is Send if it is safe to send it to another thread.
20
* A type is Sync if it is safe to share between threads (`&T` is Send).
0 commit comments