rust/src/rt
Ralph Giles 3b3cd550d4 Cast NULL to uintptr_t when calling rust_task::start().
On gcc 4.5.1 (fedora 14 i686) rust_test_runtime.cpp fails to compile
with the following error:

  rt/test/rust_test_runtime.cpp:57:61: error: passing NULL to non-pointer argument 3 of ‘void rust_task::start(uintptr_t, uintptr_t, uintptr_t, size_t)’

The explicit cast works around the error.
2010-10-28 10:13:30 -07:00
..
bigint
isaac
sync Add a virtual destructor to rust_thread in sync.h, to quiet the compiler 2010-10-20 10:32:36 -07:00
test Cast NULL to uintptr_t when calling rust_task::start(). 2010-10-28 10:13:30 -07:00
uthash
util Cleanup, refactoring, and some runtime tests. 2010-09-10 14:38:31 -07:00
circular_buffer.cpp Un-xfailed working tests. 2010-08-16 15:05:57 -07:00
circular_buffer.h Ignore upcall_flush for channels that are disassociated from ports. This makes task-comm-10 break a little less hard, but it still leaks because messages pending in the channel are never freed. 2010-08-11 16:08:45 -07:00
globals.h Added timed_wait to condition variables. 2010-08-09 07:04:38 -07:00
memcheck.h
memory_region.cpp 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
memory_region.h Tidy up the sync dir, remove dead or mis-designed code in favour of OS primitives, switch rust_kernel to use a lock/signal pair and wait rather than spin. 2010-09-08 19:13:49 -07:00
memory.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_builtin.cpp Fix bug in bind thunks failing top drop unbound args; add test and adjust rustc to use bind again. 2010-09-30 17:39:37 -07:00
rust_chan.cpp 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_chan.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_comm.cpp
rust_crate_cache.cpp Use RTLD_GLOBAL when loading libraries. This is needed to get LLVM working on the Mac in rustc. 2010-10-05 11:37:46 -07:00
rust_crate_reader.cpp
rust_crate.cpp
rust_dom.cpp Fixed deadlock caused by the message pump not being notified of new message sends. 2010-09-16 00:51:03 -07:00
rust_dom.h Cleanup, refactoring, and some runtime tests. 2010-09-10 14:38:31 -07:00
rust_dwarf.h
rust_internal.h Cleanup, refactoring, and some runtime tests. 2010-09-10 14:38:31 -07:00
rust_kernel.cpp Fixed deadlock caused by the message pump not being notified of new message sends. 2010-09-16 00:51:03 -07:00
rust_kernel.h Fixed deadlock caused by the message pump not being notified of new message sends. 2010-09-16 00:51:03 -07:00
rust_log.cpp Use new and delete instead of alloca(). Should put out the burning tinderbox. 2010-10-11 17:11:59 -07:00
rust_log.h Try to print backtraces on failure 2010-10-11 16:40:18 -07:00
rust_message.cpp 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_message.h Fixed deadlock caused by the message pump not being notified of new message sends. 2010-09-16 00:51:03 -07:00
rust_port.cpp 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_port.h Synthesize a flush_chan upcall right before a channel's ref_count drops to zero. This should only happen in the Rust code and not in the drop glue, or on the unwind path. This change allows the task owning the channel to block on a flush and delete its own channel. This change also cleans up some code around rust_port and rust_chan. 2010-08-09 08:15:34 -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 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_srv.cpp 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_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_list.cpp Cleanup, refactoring, and some runtime tests. 2010-09-10 14:38:31 -07:00
rust_task_list.h Cleanup, refactoring, and some runtime tests. 2010-09-10 14:38:31 -07:00
rust_task.cpp Try to print backtraces on failure 2010-10-11 16:40:18 -07:00
rust_task.h Try to print backtraces on failure 2010-10-11 16:40:18 -07:00
rust_timer.cpp
rust_upcall.cpp Patchwork of attempted fixes to effect system and gc system; eventually give up and disable it entirely in the runtime. Will need extensive reworking. 2010-09-29 17:22:13 -07:00
rust_util.h Added peek() to ptr_vec. 2010-08-09 08:01:40 -07:00
rust.cpp 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.h Added a few utility classes, cleaned up the include order of .h files, and started to make the Rust kernel own domain message queues rather than the Rust domains themselves. 2010-09-07 18:41:07 -07:00
valgrind.h