diff options
| author | bors <bors@rust-lang.org> | 2015-10-11 23:20:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-10-11 23:20:28 +0000 |
| commit | 81b3b27cf533e50424f749d1c1db23e5d8db952f (patch) | |
| tree | 48ac6141c5bfc1af51b1741fc65988db21c07534 | |
| parent | c413bb4fff6f0ff718f2b8aaa6c871d00b86e77b (diff) | |
| parent | 42e3f1dfaed0e47da01842c94ff56f536a9a9a70 (diff) | |
| download | rust-81b3b27cf533e50424f749d1c1db23e5d8db952f.tar.gz rust-81b3b27cf533e50424f749d1c1db23e5d8db952f.zip | |
Auto merge of #28969 - chrisccerami:link_to_ffi_in_concurrency_chapter, r=steveklabnik
| -rw-r--r-- | src/doc/trpl/concurrency.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/doc/trpl/concurrency.md b/src/doc/trpl/concurrency.md index d62a96f7308..53afa0e905a 100644 --- a/src/doc/trpl/concurrency.md +++ b/src/doc/trpl/concurrency.md @@ -35,10 +35,12 @@ channel connecting two threads, we would want to be able to send some data down the channel and to the other thread. Therefore, we'd ensure that `Send` was implemented for that type. -In the opposite way, if we were wrapping a library with FFI that isn't +In the opposite way, if we were wrapping a library with [FFI][ffi] that isn't threadsafe, we wouldn't want to implement `Send`, and so the compiler will help us enforce that it can't leave the current thread. +[ffi]: ffi.html + ### `Sync` The second of these traits is called [`Sync`](../std/marker/trait.Sync.html). |
