Skip to content

Commit 2cdd812

Browse files
committed
Translate a paragraph
1 parent 9732d7b commit 2cdd812

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/send-and-sync.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,17 @@
44

55
# Send と Sync
66

7+
<!--
78
Not everything obeys inherited mutability, though. Some types allow you to
89
multiply alias a location in memory while mutating it. Unless these types use
910
synchronization to manage this access, they are absolutely not thread safe. Rust
1011
captures this through the `Send` and `Sync` traits.
12+
-->
13+
14+
すべてのものが継承可変性に従っているわけではありません。が、いくつかの型においては、
15+
メモリ上の場所の値を変更している間に、複数のエイリアスを生成することが可能です。
16+
型がこのアクセスを管理するために同期を行なわない限り、これは絶対スレッドセーフでは
17+
ありません。 Rust ではこれを、 `Send` トレイトと `Sync` トレイトでキャプチャしています。
1118

1219
* A type is Send if it is safe to send it to another thread.
1320
* A type is Sync if it is safe to share between threads (`&T` is Send).

0 commit comments

Comments
 (0)