Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions proposals/0430-transferring-parameters-and-results.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,10 @@ public func withCheckedContinuation<T>(

### Sendable Values and Sendable Types

A type that conforms to the `Sendable` protocol is a thread-safe type: values of
that type can be shared with and used safely from multiple concurrent contexts
at once without causing data races. If a value does not conform to `Sendable`,
A type that conforms to the `Sendable` protocol can be used safely from multiple
concurrent contexts at once without causing data races since values of
that type can be shared with in a thread-safe way or transferred by copying them
to avoid sharing. If a value does not conform to `Sendable`,
Swift must ensure that the value is never used concurrently. The value can still
be sent between concurrent contexts, but the send must be a complete transfer of
the value's entire region implying that all uses of the value (and anything
Expand Down