summary refs log tree commit diff
path: root/src/libstd/rt
AgeCommit message (Collapse)AuthorLines
2013-06-19std::rt: Correct the numbers of default coresBrian Anderson-6/+1
2013-06-19std::rt: Set the process exit codeBrian Anderson-5/+19
2013-06-18std::rt: Work around a dynamic borrowck bugBrian Anderson-3/+2
2013-06-18std::rt: Improve the rtabort! macroBrian Anderson-4/+64
2013-06-18replace #[inline(always)] with #[inline]. r=burningtree.Graydon Hoare-1/+1
2013-06-18std::rt: Turn on multithreaded schedulingBrian Anderson-16/+76
2013-06-17std: Rename `abort!` to `rtabort!` to match other macrosBrian Anderson-21/+21
2013-06-17std::rt: move abort function to util moduleBrian Anderson-0/+4
2013-06-17std::rt: Check exchange count on exitBrian Anderson-6/+37
2013-06-17std::rt: Add util mod and num_cpus functionBrian Anderson-5/+27
2013-06-17Merge remote-tracking branch 'upstream/io' into ioEric Reed-364/+1770
Conflicts: src/libstd/rt/uvio.rs
2013-06-17Started to implemented UdpStreamEric Reed-0/+80
2013-06-17stated to implement UdpStreamEric Reed-4/+13
2013-06-17added Eq and TotalEq instances for IpAddrEric Reed-0/+21
2013-06-17added a function to convert C's ipv4 data structure into the Rust ipv4 data ↵Eric Reed-0/+8
structure.
2013-06-17Added a RtioUdpStream traitEric Reed-0/+7
2013-06-17added wrappers about uv_ip{4,6}_{port,name}Eric Reed-0/+16
2013-06-16std::rt: Reduce the delay on a timer test. SlowBrian Anderson-2/+2
2013-06-16Merge remote-tracking branch 'brson/io'Brian Anderson-764/+2788
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-15Merge remote-tracking branch 'brson/io-wip' into ioBrian Anderson-86/+778
Conflicts: src/libstd/rt/sched.rs src/libstd/rt/task.rs src/libstd/rt/test.rs src/libstd/task/mod.rs src/libstd/task/spawn.rs
2013-06-15rm vec::uniq_lenDaniel Micay-1/+2
2013-06-15std::rt: Tasks contain a JoinLatchBrian Anderson-32/+56
2013-06-15Merge remote-tracking branch 'toddaaro/io' into ioBrian Anderson-81/+793
2013-06-14redesigned the pinning to pin deal with things on dequeue, not on enqueuetoddaaro-201/+392
2013-06-14Added a UdpWatcher and UdpSendRequest with associated callbacksEric Reed-5/+184
2013-06-14added bindings to extract udp handle from udp send requestsEric Reed-4/+12
2013-06-13std::rt: Tasks must have an unwinder. SimplerBrian Anderson-41/+10
2013-06-13std::rt: Change the Task constructors to reflect a treeBrian Anderson-25/+73
2013-06-13std::rt: Add JoinLatchBrian Anderson-4/+665
This is supposed to be an efficient way to link the lifetimes of tasks into a tree. JoinLatches form a tree and when `release` is called they wait on children then signal the parent. This structure creates zombie tasks which currently keep the entire task allocated. Zombie tasks are supposed to be tombstoned but that code does not work correctly.
2013-06-13automated whitespace fixesDaniel Micay-4/+0
2013-06-13Corrected libuv UDP bindings.Eric Reed-2/+2
2013-06-13Remove unused importsSteven Stewart-Gallus-2/+0
I was able to remove unused imports, and fix the following warnings src/libstd/hashmap.rs:23:15: 23:23 warning: unused import [-W unused-imports (default)] src/libstd/task/spawn.rs:95:15: 95:23 warning: unused import [-W unused-imports (default)] src/libstd/rt/uv/mod.rs:42:0: 42:9 warning: unused import [-W unused-imports (default)] src/libstd/rt/uv/mod.rs:45:0: 45:9 warning: unused import [-W unused-imports (default)] src/librustc/middle/trans/meth.rs:26:0: 26:26 warning: unused import [-W unused-imports (default)] src/librustc/back/link.rs:210:20: 210:25 warning: unused import [-W unused-imports (default)] I was unable to fix the following unused import warnings. The code here was weird. src/libextra/std.rc:40:11: 40:14 warning: unused import [-W unused-imports (default)] src/libextra/std.rc:40:16: 40:24 warning: unused import [-W unused-imports (default)]
2013-06-12Added libuv UDP function bindings.Eric Reed-0/+47
2013-06-12added functionality to tell schedulers to refuse to run tasks that are not ↵toddaaro-18/+60
pinned to them
2013-06-12Removing redundant libuv bindingsEric Reed-902/+0
2013-06-12std::rt: Remove old filesBrian Anderson-902/+0
2013-06-12A basic implementation of pinning tasks to schedulers. No IO interactions ↵toddaaro-42/+496
have been planned for, and no forwarding of tasks off special schedulers is supported.
2013-06-12std: unify the str -> [u8] functions as 3 methods: .as_bytes() and ↵Huon Wilson-2/+2
.as_bytes_with_null[_consume](). The first acts on &str and is not nul-terminated, the last two act on strings that are always null terminated (&'static str, ~str and @str).
2013-06-10std::rt: Work around a dynamic borrowck bugBrian Anderson-3/+2
2013-06-10debugged a compiler ICE when merging local::borrow changes into the main io ↵toddaaro-13/+38
branch and modified the incoming new file lang.rs to be api-compatible
2013-06-10Tag a bunch of destructors that need mutable self with FIXME for #4330. ↵Ben Blum-1/+1
Close #4943.
2013-06-10Replace str::raw::buf_as_slice with c_str_to_static_slice. Close #3843.Ben Blum-15/+1
2013-06-07std::rt: Reduce task stack size to 1MBBrian Anderson-1/+1
2013-06-06std::rt: Fix a race in the UvRemoteCallback dtorBrian Anderson-11/+15
2013-06-06std::rt: Fix stream test to be parallelBrian Anderson-4/+4
2013-06-06std::rt: Configure test threads with RUST_TEST_THREADS. Default is ncores x2Brian Anderson-2/+17
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