summary refs log tree commit diff
path: root/src/rt
AgeCommit message (Collapse)AuthorLines
2012-10-04rt: Remove check_claims from the export listBrian Anderson-1/+0
2012-10-04rt: Remove CHECK_CLAIMSBrian Anderson-15/+0
2012-10-03Attempt to fix os::args errors on various platforms.Graydon Hoare-4/+21
2012-10-02libstd: Switch off legacy modes in both core and std.Patrick Walton-0/+12
2012-09-29rt: Check the results of pthread callsBrian Anderson-6/+6
The stage0 compiler is not working on an x86_64 debian wheezy instance and it looks like maye pthread_create is failing
2012-09-25rustc: Fix calls to the logging function when the must_cast flag is true; ↵Patrick Walton-2/+2
stop using shape code for logging
2012-09-25Revert "rustc: Stop using shape code for logging" due to ICEsPatrick Walton-2/+2
This reverts commit ac822a52be47579ffa59d5ca3e125680a79545d0.
2012-09-25rt: Remove the cycle collectorPatrick Walton-609/+0
2012-09-25rustc: Stop using shape code for loggingPatrick Walton-2/+2
2012-09-24rt: Add a logging function for strings (only).Patrick Walton-0/+8
This will be the shape-free replacement for upcall_log_type.
2012-09-24rt: Call the Rust box annihilator; stop calling the cycle collectorPatrick Walton-12/+11
This reverts commit 991cbfe42c8836e8b4adfcaf288d5c0b8d57397c.
2012-09-24Revert "rt: Call the Rust box annihilator; stop calling the cycle collector" ↵Patrick Walton-11/+12
due to crashes This reverts commit bb0ad11252c493ca8de85025411c3f068f529039.
2012-09-24rt: Call the Rust box annihilator; stop calling the cycle collectorPatrick Walton-12/+11
2012-09-21rustc: Shove the address of the box annihilator into the crate mapPatrick Walton-9/+65
2012-09-19V2: now with more locks!Philipp Brüschweiler-24/+34
2012-09-19core: Allocate threads on demand, not on scheduler startupPhilipp Brüschweiler-42/+69
API change: rust_kernel::create_scheduler() or rust_scheduler::rust_scheduler() respecitevly now take ownership of the launch factory argument, it is needed to create new threads on demand. Also renames rustrt::sched_threads() to rustrt::rust_sched_threads() for consistency. Added rustrt::rust_max_sched_threads() to return the maximal number of scheduled threads of the current scheduler. Fixes #3493.
2012-09-13rt: Implement ThreadPerCore scheduling modePhilipp Brüschweiler-1/+8
Fixes #3465.
2012-09-07gc: Refactoring.Elliott Slaughter-1/+1
2012-09-07rt: Add rust_gc_metadata to rustrt.def.in.Elliott Slaughter-0/+1
2012-09-07rt: Fix GC metadata for 64-bit systems.Elliott Slaughter-2/+2
2012-09-07gc: Fix for GC missing stack frames across segment boundaries.Elliott Slaughter-7/+13
2012-09-07gc: Add stack walker for new garbage collector.Elliott Slaughter-31/+191
Safe points are exported in a per-module list via the crate map. A C runtime call walks the crate map at startup and aggregates the list of safe points for the program. Currently the GC doesn't actually deallocate memory on malloc and free. Adding the GC at this stage is primarily of testing value. The GC does attempt to clean up exchange heap and stack-allocated resource on failure. A result of this patch is that the user now needs to be careful about what code they write in destructors, because the GC and/or failure cleanup may need to call destructors. Specifically, calls to malloc are considered unsafe and may result in infinite loops or segfaults.
2012-09-06Refactor trans to replace lvalue and friends with Datum.Niko Matsakis-1/+4
Also: - report illegal move/ref combos whether or not ref comes first - commented out fix for #3387, too restrictive and causes an ICE
2012-09-05rt: Make the boxed region come earlier in the rust_task structure.Patrick Walton-2/+2
This is so that GC can find it more easily.
2012-08-31Add rust_annihilate_box to rustrt.def.inBrian Anderson-0/+1
2012-08-31Merge remote-tracking branch 'erickt/incoming'Brian Anderson-37/+2
2012-08-31rt: Fix box annihilator to deallocate exchange heap boxes properly.Elliott Slaughter-1/+7
2012-08-31rt: Add interface to box annihilator.Elliott Slaughter-0/+20
2012-08-30libcore: rewrite str::reserve in pure rust.Erick Tryzelaar-8/+0
2012-08-30libcore: Rewrite str::unsafe::push_byte in pure rust.Erick Tryzelaar-11/+0
2012-08-30libcore: rewrite vec::unsafe::from_buf in pure rustErick Tryzelaar-18/+2
2012-08-29Fix MZ_FORCEINLINE define to work with GCC 4.7.1.Jed Davis-1/+1
Using just __always_inline__ without inline results in several instances of "error: always_inline function might not be inlinable".
2012-08-28Compress metadata section. Seems a minor speed win, major space win.Graydon Hoare-0/+1886
2012-08-24Document task shutdown protocol and justify its concurrency safety. Close ↵Ben Blum-7/+76
#2696. Close bblum's internship.
2012-08-24Avoid lifecycle_lock traffic in call_on_rust_stack. (close #3270)Ben Blum-10/+13
2012-08-23Fix logging code to not sign extend chars being printed in hex.Michael Sullivan-1/+2
2012-08-21Make std::arena run destructors. Closes #2831.Michael Sullivan-0/+10
2012-08-21Bypass lifecycle_lock in inhibit_kill/allow_kill for 3% to 5% speedup. Close ↵Ben Blum-4/+6
#3213.
2012-08-16Fix issue-506.rs by adding a void-returning stub in the runtime (close #2957)Ben Blum-0/+3
2012-08-07Remove rust_cond_lock and sys::condition (rename to little_lock)Ben Blum-68/+12
2012-08-06Refcount tasks in packets to avoid races.Eric Holk-3/+0
Revert "Once again, revert "Use pipes in compiletest"" Fixes #3098
2012-08-06More documentation on pipes, and moving assert in runtime.Eric Holk-2/+2
2012-08-03rt: expose rust_task refcounts to rustlandBen Blum-0/+14
2012-08-03Be more defensive in pipes (#3098)Eric Holk-0/+3
2012-08-02Set thread name on Mac to make gdb thread info more useful.Eric Holk-0/+14
2012-08-01Linked failure: enable unidirectional propagate test; replace FIXMEs with ↵Ben Blum-3/+3
comments (tag #1868).
2012-07-31Change remaining "iface" occurrences to "trait"; deprecate "iface"Lindsey Kuper-13/+13
2012-07-25Fix asserts & short-read bug in isaac_seed (#2870)Ben Blum-6/+11
2012-07-25(minor) remove config_notify from rustrt.def.inBen Blum-1/+0
2012-07-25minor rt cleanupBen Blum-10/+1