From 42e3f1dfaed0e47da01842c94ff56f536a9a9a70 Mon Sep 17 00:00:00 2001 From: Chris C Cerami Date: Sun, 11 Oct 2015 13:23:57 -0400 Subject: [PATCH] Link to FFI in Concurrency chapter --- src/doc/trpl/concurrency.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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).