about summary refs log tree commit diff
path: root/src/libstd/rt/comm.rs
AgeCommit message (Collapse)AuthorLines
2013-08-01std: Change `Times` trait to use `do` instead of `for`blake2-ppc-19/+19
Change the former repetition:: for 5.times { } to:: do 5.times { } .times() cannot be broken with `break` or `return` anymore; for those cases, use a numerical range loop instead.
2013-07-31auto merge of #8139 : brson/rust/rm-old-task-apis, r=pcwaltonbors-7/+14
This removes a bunch of options from the task builder interface that are irrelevant to the new scheduler and were generally unused anyway. It also bumps the stack size of new scheduler tasks so that there's enough room to run rustc and changes the interface to `Thread` to not implicitly join threads on destruction, but instead require an explicit, and mandatory, call to `join`.
2013-07-30std::rt: Change Thread interface to require an explicit joinBrian Anderson-7/+14
Makes it more obvious what's going on
2013-07-30Add a better-for-testing optimistic_check() for pipes with cfg(test).Ben Blum-1/+15
2013-07-30Implement select() for new runtime pipes.Ben Blum-32/+134
2013-07-29Optimize try_recv to not require the two context switches when data is ↵Ben Blum-31/+34
available.
2013-07-29Remove ChanOneHack/PortOneHack extra allocationBen Blum-50/+30
2013-07-20auto merge of #7910 : brson/rust/rm-fixme, r=graydonbors-5/+0
2013-07-20Enable taskgroup code for newsched spawns.Ben Blum-2/+8
2013-07-20Change the HOF context switchers to pass a BlockedTask instead of a ~Task.Ben Blum-14/+18
2013-07-19std::rt: Remove an obsolete FIXME. #7757Brian Anderson-5/+0
2013-07-03Merge remote-tracking branch 'mozilla/master'Brian Anderson-15/+15
Conflicts: src/libextra/test.rs src/libstd/at_vec.rs src/libstd/cleanup.rs src/libstd/rt/comm.rs src/libstd/rt/global_heap.rs src/libstd/task/spawn.rs src/libstd/unstable/lang.rs src/libstd/vec.rs src/rt/rustrt.def.in src/test/run-pass/extern-pub.rs
2013-07-01Refactored the runtime to view coroutines as a component of tasks, instead ↵toddaaro-4/+8
of tasks as a component of coroutines.
2013-06-28librustc: Change "Owned" to "Send" everywherePatrick Walton-5/+5
2013-06-25Change finalize -> drop.Luqman Aden-2/+2
2013-06-24std: Make box annihilator work with newschedBrian Anderson-12/+0
2013-06-16Merge remote-tracking branch 'brson/io'Brian Anderson-19/+322
Conflicts: src/libstd/rt/comm.rs src/libstd/rt/mod.rs src/libstd/rt/sched.rs src/libstd/rt/task.rs src/libstd/rt/test.rs src/libstd/rt/tube.rs src/libstd/rt/uv/uvio.rs src/libstd/rt/uvio.rs src/libstd/task/spawn.rs
2013-06-13automated whitespace fixesDaniel Micay-1/+0
2013-06-10debugged a compiler ICE when merging local::borrow changes into the main io ↵toddaaro-2/+2
branch and modified the incoming new file lang.rs to be api-compatible
2013-06-06std::rt: Fix stream test to be parallelBrian Anderson-4/+4
2013-06-06std: Fix stage0 buildBrian Anderson-0/+12
Conflicts: src/libstd/rt/comm.rs
2013-06-05core::rt: Add `MegaPipe`, an unbounded, multiple producer/consumer, ↵Brian Anderson-0/+71
lock-free queue
2013-06-05core::rt: Add SharedPortBrian Anderson-0/+132
2013-06-05core::rt: Implement SharedChanBrian Anderson-3/+64
2013-06-05std::rt: Use AtomicUint instead of intrinsics in commBrian Anderson-9/+9
2013-06-04std::cell: Modernize constructorsPhilipp Brüschweiler-16/+16
Part of #3853
2013-05-30core::rt: deny(unused_imports, unused_mut, unused_variable)Brian Anderson-1/+0
2013-05-30core::rt: Begin recording scheduler metricsBrian Anderson-6/+17
2013-05-29Merge remote-tracking branch 'brson/io' into incomingBrian Anderson-3/+20
Conflicts: src/libstd/rt/sched.rs
2013-05-23cleanup warnings from libstdErick Tryzelaar-1/+1
2013-05-22libstd: Fix merge fallout.Patrick Walton-0/+618