Skip to content

Commit

Permalink
Mention Share in the tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
flaper87 committed Mar 20, 2014
1 parent 0aebdac commit 7b19574
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/doc/tutorial.md
Expand Up @@ -2095,6 +2095,10 @@ and may not be overridden:
Types are sendable
unless they contain managed boxes, managed closures, or references.

* `Share` - Types that are *threadsafe*
These are types that are safe to be used across several threads with access to
a `&T` pointer. `MutexArc` is an example of a *sharable* type with internal mutable data.

* `Freeze` - Constant (immutable) types.
These are types that do not contain anything intrinsically mutable.
Intrinsically mutable values include `Cell` in the standard library.
Expand Down

9 comments on commit 7b19574

@bors
Copy link
Contributor

@bors bors commented on 7b19574 Mar 20, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from nikomatsakis
at flaper87@7b19574

@bors
Copy link
Contributor

@bors bors commented on 7b19574 Mar 20, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging FlaPer87/rust/shared = 7b19574 into auto

@bors
Copy link
Contributor

@bors bors commented on 7b19574 Mar 20, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FlaPer87/rust/shared = 7b19574 merged ok, testing candidate = 8136dd20

@bors
Copy link
Contributor

@bors bors commented on 7b19574 Mar 20, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 7b19574 Mar 20, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from nikomatsakis
at flaper87@7b19574

@bors
Copy link
Contributor

@bors bors commented on 7b19574 Mar 20, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging FlaPer87/rust/shared = 7b19574 into auto

@bors
Copy link
Contributor

@bors bors commented on 7b19574 Mar 20, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FlaPer87/rust/shared = 7b19574 merged ok, testing candidate = 8e28520

@bors
Copy link
Contributor

@bors bors commented on 7b19574 Mar 20, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 7b19574 Mar 20, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 8e28520

Please sign in to comment.