Skip to content

Commit

Permalink
Link to FFI in Concurrency chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
corincerami committed Oct 11, 2015
1 parent 11a6127 commit 42e3f1d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/doc/trpl/concurrency.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 42e3f1d

Please sign in to comment.