rust/src/rt
bors 41dcec2fe1 auto merge of #7265 : brson/rust/io-upstream, r=brson
r? @graydon, @nikomatsakis, @pcwalton, or @catamorphism

Sorry this is so huge, but it's been accumulating for about a month. There's lots of stuff here, mostly oriented toward enabling multithreaded scheduling and improving compatibility between the old and new runtimes. Adds task pinning so that we can create the 'platform thread' in servo.

[Here](e1555f9b56/src/libstd/rt/mod.rs (L201)) is the current runtime setup code.

About half of this has already been reviewed.
2013-07-09 18:28:46 -07:00
..
arch Partial fix for #7158: Save EDX in morestack on x86-32 2013-06-16 12:46:51 -04:00
isaac add gitattributes and fix whitespace issues 2013-05-03 20:01:42 -04:00
jemalloc rt: fix jemalloc android cross-compile for mac 2013-06-17 20:20:24 +09:00
linenoise Fix compilation errors with linenoise 2013-05-25 00:40:12 -05:00
msvc Add some C99 and C++ compatibility headers for MSVC 2011-03-21 10:24:00 -07:00
sync fix mac build and comment on stack size check 2013-04-04 18:53:58 +08:00
util rm unused hash table from the runtime 2013-02-15 18:22:34 -05:00
vg Upgrade valgrind headers to 3.7, silencing build breakage on FreeBSD. 2012-03-21 18:40:32 -07:00
boxed_region.cpp Address nits by @catamorphism 2013-07-08 13:55:10 -04:00
boxed_region.h rt: Don't make memory_region depend on rust_env 2013-04-21 17:42:45 -07:00
memory_region.cpp rt: Don't make memory_region depend on rust_env 2013-04-21 17:42:45 -07:00
memory_region.h rt: Don't make memory_region depend on rust_env 2013-04-21 17:42:45 -07:00
miniz.cpp Fix MZ_FORCEINLINE define to work with GCC 4.7.1. 2012-08-29 01:18:00 -07:00
rust.cpp Add a way to run the test suite with the new scheduler 2013-03-18 17:00:35 -07:00
rust_abi.cpp add gitattributes and fix whitespace issues 2013-05-03 20:01:42 -04:00
rust_abi.h add gitattributes and fix whitespace issues 2013-05-03 20:01:42 -04:00
rust_android_dummy.cpp rt: add android dummy functions for mman related 2013-06-26 10:25:12 +09:00
rust_android_dummy.h auto merge of #6234 : yichoi/rust/glob-dummy-pull, r=thestinger 2013-05-04 22:09:36 -07:00
rust_builtin.cpp rt: Make the old rand builtins work with newsched 2013-07-09 15:05:43 -07:00
rust_crate_map.cpp fix #2673: avoid visiting the same crate twice 2013-01-29 21:03:05 +09:00
rust_crate_map.h mk: --android-cross-path to rustc 2013-03-05 13:12:23 +09:00
rust_debug.cpp add gitattributes and fix whitespace issues 2013-05-03 20:01:42 -04:00
rust_debug.h add gitattributes and fix whitespace issues 2013-05-03 20:01:42 -04:00
rust_env.cpp Merge remote-tracking branch 'brson/io' 2013-06-16 15:09:25 -07:00
rust_env.h improve DEBUG_BORROW printouts 2013-05-04 14:25:15 -04:00
rust_exchange_alloc.cpp simplify the exchange allocator 2013-06-30 03:45:36 -04:00
rust_exchange_alloc.h simplify the exchange allocator 2013-06-30 03:45:36 -04:00
rust_gc_metadata.cpp std::rt: Update GC metadata in init 2013-06-19 16:08:07 -07:00
rust_gc_metadata.h Update license, add license boilerplate to most files. Remainder will follow. 2012-12-03 17:12:14 -08:00
rust_globals.h Correct #[always_inline] -> #[inline(always)] and __attribute((...)) -> __attribute__((...)). 2013-05-13 04:05:34 -04:00
rust_gpr_base.h add gitattributes and fix whitespace issues 2013-05-03 20:01:42 -04:00
rust_kernel.cpp simplify the exchange allocator 2013-06-30 03:45:36 -04:00
rust_kernel.h rt: Move win32_require out of the rust_kernel type 2013-05-07 12:08:00 -07:00
rust_log.cpp std: Make console log off/on controls work with newsched 2013-06-21 16:52:07 -07:00
rust_log.h Add a license check to tidy. #4018 2013-01-17 23:28:42 -08:00
rust_refcount.h rt: get rid of rust_fn and replace with fn_env_pair plus a little cleanup. 2013-02-13 15:41:38 -05:00
rust_rng.cpp rt: Eliminate the dependency on rust_kernel from rust_rng 2013-05-07 12:08:03 -07:00
rust_rng.h rt: Eliminate the dependency on rust_kernel from rust_rng 2013-05-07 12:08:03 -07:00
rust_run_program.cpp Convert most of rust_run_program.cpp to rust (issue #2674). 2013-05-02 19:26:52 +01:00
rust_sched_driver.cpp Add license boilerplate to more files. 2012-12-10 17:32:58 -08:00
rust_sched_driver.h Update license, add license boilerplate to most files. Remainder will follow. 2012-12-03 17:12:14 -08:00
rust_sched_launcher.cpp Add license boilerplate to more files. 2012-12-10 17:32:58 -08:00
rust_sched_launcher.h Whitespace 2012-12-15 23:03:45 -08:00
rust_sched_loop.cpp rt: Eliminate the dependency on rust_kernel from rust_rng 2013-05-07 12:08:03 -07:00
rust_sched_loop.h rt: Release big stacks immediately after use to avoid holding on to them through yields 2013-06-26 15:18:36 -07:00
rust_sched_reaper.cpp Add license boilerplate to more files. 2012-12-10 17:32:58 -08:00
rust_sched_reaper.h Update license, add license boilerplate to most files. Remainder will follow. 2012-12-03 17:12:14 -08:00
rust_scheduler.cpp Rename dec/inc_weak_task_count to inc/dec_live_count and remove register_task/unregister_task. Closes #4768 2013-02-09 19:19:31 +10:00
rust_scheduler.h Whitespace 2012-12-15 23:03:45 -08:00
rust_signal.h Fix typos 2013-05-09 02:34:47 +09:00
rust_stack.cpp core::rt: Register stacks with valgrind. #6428 2013-05-14 14:52:07 -07:00
rust_stack.h rt: Fix scalability problem with big stacks on 32 bit 2013-04-19 11:53:34 -07:00
rust_task.cpp rt: Release big stacks immediately after use to avoid holding on to them through yields 2013-06-26 15:18:36 -07:00
rust_task.h rt: Release big stacks immediately after use to avoid holding on to them through yields 2013-06-26 15:18:36 -07:00
rust_test_helpers.cpp std::rt: Add a hack to allocate different test port ranges to different bots 2013-07-08 14:41:07 -07:00
rust_type.h Remove unused TyDesc parameter from the glue functions 2013-06-23 13:02:00 +02:00
rust_upcall.cpp Deduplicate words in code comments 2013-06-06 10:48:27 +03:00
rust_upcall.h Add license boilerplate to more files. 2012-12-10 17:32:58 -08:00
rust_util.cpp Remove unused shape fields from typedescs 2013-06-23 12:49:16 +02:00
rust_util.h std: Rewrite vec_reserve_shared_actual in Rust 2013-06-24 17:07:01 -07:00
rust_uv.cpp Merge remote-tracking branch 'mozilla/master' 2013-07-08 16:29:54 -07:00
rustrt.def.in std: Make os::set_exit_status work with newsched 2013-07-09 13:29:05 -07:00