about summary refs log tree commit diff
path: root/src/libstd/rt
AgeCommit message (Collapse)AuthorLines
2013-06-20std: Port SharedChan to newschedBrian Anderson-0/+12
2013-06-20Merge remote-tracking branch 'brson/io' into io-upstreamBrian Anderson-788/+3024
Conflicts: src/rt/rust_builtin.cpp src/rt/rustrt.def.in
2013-06-20std::rt: WhitespaceBrian Anderson-2/+2
2013-06-20Merge remote-tracking branch 'brson/io-wip' into ioBrian Anderson-21/+55
2013-06-20Merge remote-tracking branch 'upstream/io' into ioEric Reed-62/+239
2013-06-19derived instances of Eq and TotalEq for IpAddr rather than implement them ↵Eric Reed-21/+1
manually.
2013-06-19socket based UDP ioEric Reed-70/+157
2013-06-19std::rt: Update GC metadata in initBrian Anderson-0/+5
2013-06-19Changed visibility from being on the impl to being on methods per language ↵Eric Reed-13/+13
syntax change.
2013-06-19Modified a match in resume_task_from_queue that was returning an int that ↵toddaaro-17/+17
was then matched on to instead use an enum.
2013-06-19Wrote the Eq instance of IpAddr in a slightly different way.Eric Reed-3/+3
2013-06-19std::rt: Document and cleanup the run functionBrian Anderson-10/+30
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).