about summary refs log tree commit diff
path: root/src/libcore/task
AgeCommit message (Collapse)AuthorLines
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-0/+12
2012-10-23core: Remove the unused Notification enumBrian Anderson-14/+8
2012-10-23Remove uses of binary move - <- - from tests and librariesTim Chevalier-5/+5
2012-10-12Make moves explicit in core testsTim Chevalier-7/+7
2012-10-04Remove by-copy mode from std, mostlyTim Chevalier-2/+2
One instance remains in net_tcp due to a foreign fn. Lots of instances remain in serialization.rs, but IIRC that is being removed. I had to do unholy things to task-perf-word-count-generic to get it to compile after demoding pipes. I may well have messed up its performance, but it passes.
2012-10-04Forbid deprecated modes again in coreTim Chevalier-0/+1
Sadly, there's only one file that requires deprecated modes (stackwalk)... So, forbid them everywhere else.
2012-10-04De-mode comm::ChanTim Chevalier-1/+1
2012-10-03core: Make some parts of task privateBrian Anderson-36/+36
2012-10-02De-export the submodules of task. Part of #3583.Graydon Hoare-43/+44
2012-10-02Removing explicit uses of + modeTim Chevalier-27/+27
This removes most explicit uses of the + argument mode. Pending a snapshot, I had to remove the forbid(deprecated_modes) pragma from a bunch of files. I'll put it back! + mode still has to be used in a few places for functions that get moved (see task.rs) The changes outside core and std are due to the to_bytes trait and making the compiler (with legacy modes on) agree with the libraries (with legacy modes off) about modes.
2012-10-01Move over to calling ptr::addr_ofTim Chevalier-1/+1
Everything should now call ptr::addr_of instead of ptr::p2::addr_of. Only the pipes macro code when compiled by stage0 will call ptr::p2::addr_of. Needs a snapshot to get rid of that.
2012-09-29core: Fix unsafe code in spawn_rawBrian Anderson-9/+2
2012-09-28Add a demoded version of ptr::addr_ofTim Chevalier-3/+10
Currently, the new version is ptr::p2::addr_of and the old one is ptr::addr_of. This is kind of cheesy, but I need a snapshot before I can ditch the old version, since the pipe compiler generates calls to addr_of. core is converted over to use the new version, std is not.
2012-09-28Long linesBrian Anderson-1/+3
2012-09-28core: Demode patternsBrian Anderson-5/+5
2012-09-27core: More option demodingBrian Anderson-1/+1
2012-09-26core: Replace map/map_default with map_ref/map_default_refBrian Anderson-4/+4
2012-09-26libcore: De-export ptr, send_map, and task::local_dataPatrick Walton-19/+13
2012-09-23Register snapshots. Remove redundant Eq impls, Makefile hacksBrian Anderson-11/+0
2012-09-23Make it illegal to use modes in a fn signature with providingNiko Matsakis-2/+2
an explicit variable name. (Step one to changing the defaults) First step to #3535
2012-09-20rustc: De-mode all overloaded operatorsPatrick Walton-0/+11
2012-09-19core: Decompose task into more submodulesBrian Anderson-7/+758
2012-09-19core: Cleanup task_local docsBrian Anderson-7/+11
2012-09-19core: Split local_data into local_data/local_data_privBrian Anderson-160/+164
2012-09-19core: Move TLS to task::local_dataBrian Anderson-0/+346