about summary refs log tree commit diff
path: root/src/libstd/task/local_data_priv.rs
AgeCommit message (Collapse)AuthorLines
2013-08-19Add externfn macro and correctly label fixed_stack_segmentsNiko Matsakis-3/+9
2013-08-09Remove the C++ runtime. SayonaraBrian Anderson-34/+2
2013-08-03remove obsolete `foreach` keywordDaniel Micay-1/+1
this has been replaced by `for`
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-1/+1
2013-07-26Consolidate raw representations of rust valuesAlex Crichton-2/+2
This moves the raw struct layout of closures, vectors, boxes, and strings into a new `unstable::raw` module. This is meant to be a centralized location to find information for the layout of these values. As safe method, `repr`, is provided to convert a rust value to its raw representation. Unsafe methods to convert back are not provided because they are rarely used and too numerous to write an implementation for each (not much of a common pattern).
2013-07-17librustc: Remove all uses of the `Copy` bound.Patrick Walton-2/+4
2013-07-16Add a `get_mut` method for TLSAlex Crichton-15/+69
Simulates borrow checks for '@mut' boxes, or at least it's the same idea.
2013-07-14Make TLS keys actually take up spaceAlex Crichton-2/+1
If the TLS key is 0-sized, then the linux linker is apparently smart enough to put everything at the same pointer. OSX on the other hand, will reserve some space for all of them. To get around this, the TLS key now actuall consumes space to ensure that it gets a unique pointer
2013-07-14Purge the last remnants of the old TLS apiAlex Crichton-4/+3
Closes #3273
2013-07-11Fix a soundness problem with `get`Alex Crichton-31/+71
2013-07-11Work around stage0 to remove '@' requirements from TLSAlex Crichton-70/+56
2013-07-09Rename local_data methods/types for less keystrokesAlex Crichton-5/+5
2013-07-09Change TLS to almost be able to contain owned typesAlex Crichton-55/+117
2013-07-09Change the elements in the task-local map to be actual key-value pairsAlex Crichton-124/+104
2013-07-09Use purely an owned vector for storing TLS dataAlex Crichton-44/+35
2013-07-07remove some method resolve workaroundsDaniel Micay-2/+2
2013-06-21vec: rm old_iter implementations, except BaseIterDaniel Micay-2/+2
The removed test for issue #2611 is well covered by the `std::iterator` module itself. This adds the `count` method to `IteratorUtil` to replace `EqIter`.
2013-05-30Require documentation by default for libstdAlex Crichton-0/+2
Adds documentation for various things that I understand. Adds #[allow(missing_doc)] for lots of things that I don't understand.
2013-05-27Get rid of no-longer-needed #[doc(hidden)] attributes.Lindsey Kuper-2/+0
There were several old `#[doc(hidden)]` attributes in libstd and libextra, left over from when rustdoc didn't hide private definitions, tagged with `FIXME #3538`. Since #3538 is now closed, I removed the `#[doc(hidden)]` attributes as well as the FIXMEs, but I left `#[doc(hidden)]` in libstd/task/spawn.rs and libstd/task/rt.rs since those two are apparently `pub`, as well as in libextra/std.rc since std/extra is `pub`.
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+235
This only changes the directory names; it does not change the "real" metadata names.