Skip to content

Commit

Permalink
Auto merge of rust-lang#28969 - chrisccerami:link_to_ffi_in_concurren…
Browse files Browse the repository at this point in the history
…cy_chapter, r=steveklabnik
  • Loading branch information
bors committed Oct 11, 2015
2 parents c413bb4 + 42e3f1d commit 81b3b27
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 81b3b27

Please sign in to comment.