rust/src/rt
Rob Arnold 4e59b0be54 Sync rust_chan's deref() method with rustc's code.
If the channel is associated with a port then the destructor will assert.
Additionally, destruction of the object is not always appropriate. This brings
the deref() method into sync with the behavior of generated rust code which
only invokes destroy() once the reference count goes to 0.
2011-07-01 16:59:11 -07:00
..
arch/i386 Combined set_registers and get_registers into swap_registers. 2011-06-23 20:23:04 -07:00
bigint Populate tree. 2010-06-23 21:03:09 -07:00
intrinsics Don't enable ssp everywhere. 2011-06-29 16:25:54 -04:00
isaac Populate tree. 2010-06-23 21:03:09 -07:00
msvc Add some C99 and C++ compatibility headers for MSVC 2011-03-21 10:24:00 -07:00
sync Added a nanosecond timer to time.rs, support for some floating point casts, and a commandline-driven mode for pfib.rs 2011-06-30 11:32:10 -07:00
test Resurrecting the runtime unit tests, and modifying them so they compile under the latest refactoring changes. 2011-06-28 16:12:34 -07:00
uthash Populate tree. 2010-06-23 21:03:09 -07:00
util Basic multithreading support. The infinite loops test successfully maxes out the CPU. 2011-06-27 09:58:39 -07:00
circular_buffer.cpp Re-enable tidy (it was broken) and fix various non-tidy things. 2011-06-29 15:14:55 -07:00
circular_buffer.h Renamed what's left of rust_dom to rust_scheduler 2011-06-28 16:12:33 -07:00
globals.h This is the mega-ucontext commit. It replaces the task switching mechanism with a new one inspired by ucontext. It works under Linux, OS X and Windows, and is Valgrind clean on Linux and OS X (provided the runtime is built with gcc). 2011-06-13 18:14:13 -07:00
main.ll.in Step 2 of cdecl task transition. 2011-06-15 14:25:53 -07:00
memcheck.h Mark valgrind's _qzz_res as unused to silence warnings on gcc 4.6. 2011-05-05 10:55:54 -07:00
memory.h Removed dom_owned, splitting things between task_owned and kernel_owned. Had to re-xfail a few tests brson recently un-xfailed. 2011-06-28 16:12:33 -07:00
memory_region.cpp rt: memory_region::free(NULL) shouldn't touch the live allocation count 2011-06-16 11:16:03 -07:00
memory_region.h A little tidying in rt. 2011-06-27 10:08:57 -07:00
rust.cpp Add a runtime flag to enable/disable claims en masse 2011-06-29 14:28:02 -07:00
rust.h Add a runtime flag to enable/disable claims en masse 2011-06-29 14:28:02 -07:00
rust_builtin.cpp Added a nanosecond timer to time.rs, support for some floating point casts, and a commandline-driven mode for pfib.rs 2011-06-30 11:32:10 -07:00
rust_chan.cpp Sync rust_chan's deref() method with rustc's code. 2011-07-01 16:59:11 -07:00
rust_chan.h Sync rust_chan's deref() method with rustc's code. 2011-07-01 16:59:11 -07:00
rust_comm.cpp Move ports out into their own file, add data_message and make communication system use it (and proxies) instead of existing token scheme. 2010-07-28 20:30:29 -07:00
rust_crate_cache.cpp Renamed what's left of rust_dom to rust_scheduler 2011-06-28 16:12:33 -07:00
rust_internal.h Add macro for refcounting runtime structures. 2011-07-01 16:59:10 -07:00
rust_kernel.cpp Re-enable tidy (it was broken) and fix various non-tidy things. 2011-06-29 15:14:55 -07:00
rust_kernel.h Resurrecting the runtime unit tests, and modifying them so they compile under the latest refactoring changes. 2011-06-28 16:12:34 -07:00
rust_log.cpp Renamed what's left of rust_dom to rust_scheduler 2011-06-28 16:12:33 -07:00
rust_log.h Renamed what's left of rust_dom to rust_scheduler 2011-06-28 16:12:33 -07:00
rust_message.cpp Renamed what's left of rust_dom to rust_scheduler 2011-06-28 16:12:33 -07:00
rust_message.h Renamed what's left of rust_dom to rust_scheduler 2011-06-28 16:12:33 -07:00
rust_port.cpp Removed dom_owned, splitting things between task_owned and kernel_owned. Had to re-xfail a few tests brson recently un-xfailed. 2011-06-28 16:12:33 -07:00
rust_port.h Conservatively serialize nearly all upcalls. Successfuly ran make check with RUST_THREADS=8, so we're probably fairly safe now. In the future we can relax the synchronization to get better performance. 2011-06-27 09:58:39 -07:00
rust_proxy.cpp Added a .cpp file for rust_proxy to help avoid .h file dependencies in the future. 2010-09-07 18:41:08 -07:00
rust_proxy.h rt: Consistently refer to structs as structs and classes as classes. Clang complains about this. 2011-05-08 21:10:42 -07:00
rust_run_program.cpp Placate win32 build; no idea how it can be working currently on tinderbox. 2011-03-25 00:16:04 -07:00
rust_scheduler.cpp Added inheritance for task pinning. Closes #598 for real. 2011-06-29 18:56:34 -07:00
rust_scheduler.h Adding support for pinning tasks to the currently running thread. Closes #598. 2011-06-29 18:47:47 -07:00
rust_srv.cpp Implementation mising features in lock_and_signal for Win32. Also lowered the minimum stack size to get the pfib benchmark to run without exhausting its address space on Windows. 2011-06-27 09:58:39 -07:00
rust_srv.h Lots of design changes around proxies and message passing. Made it so that domains can only talk to other domains via handles, and with the help of the rust_kernel. 2010-09-07 18:44:12 -07:00
rust_task.cpp Added inheritance for task pinning. Closes #598 for real. 2011-06-29 18:56:34 -07:00
rust_task.h Added inheritance for task pinning. Closes #598 for real. 2011-06-29 18:56:34 -07:00
rust_task_list.cpp Renamed what's left of rust_dom to rust_scheduler 2011-06-28 16:12:33 -07:00
rust_task_list.h Renamed what's left of rust_dom to rust_scheduler 2011-06-28 16:12:33 -07:00
rust_timer.cpp Renamed what's left of rust_dom to rust_scheduler 2011-06-28 16:12:33 -07:00
rust_upcall.cpp Move the channel destroy code into rust_chan. 2011-07-01 16:59:10 -07:00
rust_util.h Renamed what's left of rust_dom to rust_scheduler 2011-06-28 16:12:33 -07:00
rustrt.def.in Added a nanosecond timer to time.rs, support for some floating point casts, and a commandline-driven mode for pfib.rs 2011-06-30 11:32:10 -07:00
valgrind.h Mark valgrind's _qzz_res as unused to silence warnings on gcc 4.6. 2011-05-05 10:55:54 -07:00
vec_append.ll Move rust_vec_append_glue to rt. 2011-05-31 14:32:08 -04:00