diff options
| author | Chris C Cerami <chrisccerami@gmail.com> | 2015-10-11 13:23:57 -0400 |
|---|---|---|
| committer | Chris C Cerami <chrisccerami@gmail.com> | 2015-10-11 13:23:57 -0400 |
| commit | 42e3f1dfaed0e47da01842c94ff56f536a9a9a70 (patch) | |
| tree | b43564cfdb8de6db8fb62a5163b08a3dbdfc62d1 | |
| parent | 11a612795a8c93852fc1ed66118549e4dc6be99d (diff) | |
Link to FFI in Concurrency chapter
| -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 7028bade6de..8b69f633cb2 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). |
