summary refs log tree commit diff
path: root/src/libstd/sync.rs
AgeCommit message (Collapse)AuthorLines
2012-10-11Update FIXME numberTim Chevalier-3/+3
2012-10-04Remove by-copy mode from std, mostlyTim Chevalier-1/+1
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-04De-mode comm::ChanTim Chevalier-2/+2
2012-10-03Remove uses of + mode from libstdTim Chevalier-7/+7
More or less the same as my analogous commit for libcore. Had to remove the forbid(deprecated_modes) pragma from some files -- will restore it after the snapshot.
2012-10-01Move over to calling ptr::addr_ofTim Chevalier-2/+2
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-28De-export std::{arc,comm,sync}. Part of #3583.Graydon Hoare-10/+7
2012-09-28std: Eliminate deprecated patternsBrian Anderson-1/+0
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-4/+4
2012-09-23Make it illegal to use modes in a fn signature with providingNiko Matsakis-1/+1
an explicit variable name. (Step one to changing the defaults) First step to #3535
2012-09-21De-mode vec::map, vec::eachi, vec::rev_each, vec::rev_eachiNiko Matsakis-2/+2
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+1
#[legacy_exports];
2012-09-18Revert "replace explicit calls to vec::each with vec::each_ref, partially ↵Niko Matsakis-2/+2
demode str" This reverts commit 1be24f0758d3075d2e7f141f8831bb8a233ce86e. Not quite ready.
2012-09-18replace explicit calls to vec::each with vec::each_ref, partially demode strNiko Matsakis-2/+2
2012-09-18core: Rename 'unsafe' mod to 'cast'Brian Anderson-2/+2
2012-09-18core: Move Exclusive and SharedMutableState to the private modBrian Anderson-1/+1
2012-09-11Introduce auto adjustment table to subsume autoderef/autoref/borrowings.Niko Matsakis-2/+2
Fixes #3261 Fixes #3443
2012-09-11Make moves explicit in argumentsTim Chevalier-1/+1
2012-09-10Make remaining moves explicit in libstdTim Chevalier-6/+6
2012-09-08std: cleanup in sync.rs for things missed in last rebaseJeff Olson-9/+9
2012-09-07Convert all kind bounds to camel case. Remove send, owned keywords.Brian Anderson-3/+3
2012-09-07Convert field terminators to commas. Stop parsing semis.Brian Anderson-21/+21
2012-09-04WhitespaceBrian Anderson-1/+0
2012-09-04std: Remove struct ctorsBrian Anderson-6/+40
2012-09-04libstd: "import" -> "use"Patrick Walton-1/+1
2012-09-01Demode reinterpret_castBrian Anderson-2/+2
2012-08-29std: Camel case some constructorsBrian Anderson-31/+31
2012-08-28Convert core::pipes to camel caseBrian Anderson-6/+6
2012-08-27Convert core::result to camel caseBrian Anderson-4/+4
2012-08-26convert std::sync types to camelcaseBen Blum-128/+128
2012-08-26Camel case the option typeBrian Anderson-29/+29
2012-08-25Use region variance to remove a bunch of unsafety in sync/arc (#2282)Ben Blum-9/+3
2012-08-21Remove fixmes about exporting. Close #2648, close #3119.Ben Blum-1/+0
2012-08-21more sound treatment of fn& regions; change all & to be distinctNiko Matsakis-1/+1
2012-08-15Convert more core types to camel caseBrian Anderson-1/+1
2012-08-15Fix :broadcast_heavy in condvars.Ben Blum-21/+27
2012-08-15sync+arc - comments and attributes onlyBen Blum-7/+40
2012-08-15Enable multiple condvars on a single mutex_arc/rw_arc.Ben Blum-1/+2
2012-08-15Enable multiple condvars on a single mutex/rwlock.Ben Blum-38/+172
2012-08-15Add 1shot pipe chan_one/port_one type aliases and convert std::sync to use themBen Blum-8/+8
2012-08-14De-mode comm, libc, priv, rt, sync, arc. Super easy.Ben Blum-2/+5
2012-08-14add sync::tests::test_mutex_killed_broadcastBen Blum-3/+45
2012-08-14Add rw_arc.downgrade() + std and cfail tests. Tons of region FIXMEs... (cf ↵Ben Blum-19/+33
#2282, #3154)
2012-08-13core: Camel case some lesser-used modulesBrian Anderson-3/+3
2012-08-13Add more rwlock testsBen Blum-16/+92
2012-08-13Implement rwlock.downgrade and testsBen Blum-36/+202
2012-08-13minor fix to rwlock.read()Ben Blum-1/+2
2012-08-10Split libcore/arc.rs: arc -> std::arc; exclusive -> unsafe::exclusiveBen Blum-0/+775