| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Tidy up the sync dir, remove dead or mis-designed code in favour of OS ↵ | Graydon Hoare | 2010-09-08 | 17 | -345/+170 | |
| | | | | | primitives, switch rust_kernel to use a lock/signal pair and wait rather than spin. | |||||
| * | XFAIL many.rs since it crashes on win32, and add a time-slice sleep to the ↵ | Graydon Hoare | 2010-09-08 | 1 | -1/+24 | |
| | | | | | kernel message loop to get tests to finish in a sane time. | |||||
| * | Cleaned up locking in the kernel. | Michael Bebenita | 2010-09-08 | 3 | -53/+54 | |
| | | ||||||
| * | Fixed race in the rust kernel. | Michael Bebenita | 2010-09-07 | 4 | -19/+43 | |
| | | ||||||
| * | Lots of design changes around proxies and message passing. Made it so that ↵ | Michael Bebenita | 2010-09-07 | 21 | -410/+638 | |
| | | | | | domains can only talk to other domains via handles, and with the help of the rust_kernel. | |||||
| * | Started work on a framework for writing runtime tests, added some simple ↵ | Michael Bebenita | 2010-09-07 | 4 | -0/+180 | |
| | | | | | test cases. | |||||
| * | Small updates to util classes. | Michael Bebenita | 2010-09-07 | 2 | -1/+24 | |
| | | ||||||
| * | Change signature of array_list::pop(). | Michael Bebenita | 2010-09-07 | 3 | -7/+22 | |
| | | ||||||
| * | Added "new" inline operators to memory regions. | Michael Bebenita | 2010-09-07 | 1 | -0/+8 | |
| | | ||||||
| * | Added a .cpp file for rust_proxy to help avoid .h file dependencies in the ↵ | Michael Bebenita | 2010-09-07 | 1 | -0/+1 | |
| | | | | | future. | |||||
| * | Added a thread utility class to factor out operations on threads. | Michael Bebenita | 2010-09-07 | 2 | -0/+64 | |
| | | ||||||
| * | Added a few utility classes, cleaned up the include order of .h files, and ↵ | Michael Bebenita | 2010-09-07 | 15 | -111/+246 | |
| | | | | | started to make the Rust kernel own domain message queues rather than the Rust domains themselves. | |||||
| * | Add a little pointer-cast helper to dbg. | Roy Frostig | 2010-09-06 | 1 | -0/+13 | |
| | | ||||||
| * | When vec growth results in a newly allocated (extended) buffer, copy ↵ | Roy Frostig | 2010-09-03 | 1 | -9/+26 | |
| | | | | | existing elements over via element-wise copy, not flat memcpy. Introduce new vec growth glue to achieve this. | |||||
| * | Whitespace churn. | Graydon Hoare | 2010-08-31 | 1 | -38/+63 | |
| | | ||||||
| * | Fix rust_vec constructor assertion failure caused by slow path of ↵ | Roy Frostig | 2010-08-31 | 1 | -2/+3 | |
| | | | | | upcall_vec_grow. Add testcase. | |||||
| * | Implemented an lock free queue based on this paper ↵ | Michael Bebenita | 2010-08-24 | 7 | -21/+294 | |
| | | | | | http://www.cs.rochester.edu/~scott/papers/1996_PODC_queues.pdf, the "lock free queue" we had before wasn't lock free at all. | |||||
| * | Add support in dbg.debug_obj for printing the obj body. | Roy Frostig | 2010-08-24 | 1 | -1/+7 | |
| | | ||||||
| * | Add std.dbg module for inspecting rust values in memory. | Roy Frostig | 2010-08-24 | 1 | -0/+100 | |
| | | ||||||
| * | Disable task-growing logic for now until #151 is fixed | Patrick Walton | 2010-08-20 | 1 | -1/+10 | |
| | | ||||||
| * | Make _io.buf_reader read more than 0 bytes at a time. | Roy Frostig | 2010-08-19 | 1 | -2/+22 | |
| | | ||||||
| * | Added simple deadlock detection in the scheduler. | Michael Bebenita | 2010-08-17 | 2 | -0/+28 | |
| | | ||||||
| * | Lots of changes around memory managment in the Runtime. Added memory regions ↵ | Michael Bebenita | 2010-08-17 | 12 | -124/+298 | |
| | | | | | and fixed race caused by calling rust_srv::malloc() from multiple threads when sending messages. | |||||
| * | Add a "special" rust_log flag to be used for debugging in cases where the ↵ | Michael Bebenita | 2010-08-17 | 2 | -0/+2 | |
| | | | | | full log output prevents races from occurring. | |||||
| * | Added labels to blocking conditions. | Michael Bebenita | 2010-08-17 | 4 | -8/+13 | |
| | | ||||||
| * | Fixed deadlock by removing channel flushing. | Michael Bebenita | 2010-08-17 | 2 | -32/+20 | |
| | | ||||||
| * | Made the lock_free_queue lock (temporarily, until fixed). | Michael Bebenita | 2010-08-17 | 2 | -0/+7 | |
| | | ||||||
| * | Putting out the burning tree on Windows. Turns out you can completely starve ↵ | Michael Bebenita | 2010-08-16 | 3 | -5/+5 | |
| | | | | | threads by not yielding on windows/vmware, really weird. | |||||
| * | Un-xfailed working tests. | Michael Bebenita | 2010-08-16 | 1 | -1/+2 | |
| | | ||||||
| * | Pulled rust_srv in its own file. Some cleanup, and added varargs to ↵ | Michael Bebenita | 2010-08-16 | 6 | -128/+164 | |
| | | | | | assertion macros. | |||||
| * | A little tidy-up that should have gone in with ↵ | Roy Frostig | 2010-08-12 | 1 | -2/+2 | |
| | | | | | 4e376852e709844d67f94430d9dc954d5be722b4. | |||||
| * | Add vec debugging utility to _vec module. | Roy Frostig | 2010-08-12 | 3 | -1/+20 | |
| | | ||||||
| * | Added support for task sleeping in the scheduler. | Michael Bebenita | 2010-08-11 | 8 | -8/+127 | |
| | | ||||||
| * | Remove commented-out code that slipped in during last commit. | Roy Frostig | 2010-08-11 | 1 | -16/+0 | |
| | | ||||||
| * | Ignore upcall_flush for channels that are disassociated from ports. This ↵ | Michael Bebenita | 2010-08-11 | 4 | -2/+16 | |
| | | | | | makes task-comm-10 break a little less hard, but it still leaks because messages pending in the channel are never freed. | |||||
| * | Made ref_count a word sized value. | Michael Bebenita | 2010-08-11 | 1 | -1/+1 | |
| | | ||||||
| * | Print domain and task names in log prefix. | Michael Bebenita | 2010-08-11 | 1 | -4/+13 | |
| | | ||||||
| * | Add native vec[u8] to str converter. Put in workaround for leak in str to ↵ | Roy Frostig | 2010-08-11 | 1 | -19/+68 | |
| | | | | | vec[u8] converter. Add testcase exercising both. Drive-by fix a potential array-out-of-bounds write on rust_str buffers. | |||||
| * | Merge commit 'jyasskin/work' | Graydon Hoare | 2010-08-10 | 6 | -78/+104 | |
| |\ | | | | | | | | | | | Conflicts: src/rt/rust_dom.cpp src/rt/rust_upcall.cpp | |||||
| | * | Add names to tasks and domains. These can either be an explicit literal string | Jeffrey Yasskin | 2010-08-09 | 6 | -71/+100 | |
| | | | | | | | | | | | after the "spawn" keyword, or implicitly the call expression used to start the spawn. | |||||
| * | | Synthesize a flush_chan upcall right before a channel's ref_count drops to ↵ | Michael Bebenita | 2010-08-09 | 8 | -55/+93 | |
| | | | | | | | | | 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. | |||||
| * | | Fixed deadlock in the scheduler caused by condition variables. | Michael Bebenita | 2010-08-09 | 4 | -11/+13 | |
| | | | ||||||
| * | | Added peek() to ptr_vec. | Michael Bebenita | 2010-08-09 | 2 | -0/+8 | |
| | | | ||||||
| * | | Made ref_count signed to help detect negative ref_count bugs. | Michael Bebenita | 2010-08-09 | 1 | -1/+1 | |
| | | | ||||||
| * | | Some pretty printing in the runtime. | Michael Bebenita | 2010-08-09 | 6 | -18/+66 | |
| | | | ||||||
| * | | Added class to abstract away platform specific thread primitives. | Michael Bebenita | 2010-08-09 | 2 | -0/+21 | |
| | | | ||||||
| * | | Made the runtime keep track of all live domains and print their state. | Michael Bebenita | 2010-08-09 | 2 | -0/+16 | |
| | | | ||||||
| * | | Added the RUST_SEED env variable to seed the Rust task scheduler -- helpful ↵ | Michael Bebenita | 2010-08-09 | 1 | -5/+14 | |
| | | | | | | | | | when debugging task race conditions within a single thread domain. | |||||
| * | | Added "none" option to rust_log env string to disable all log output. | Michael Bebenita | 2010-08-09 | 1 | -0/+1 | |
| | | | ||||||
| * | | Added timed_wait to condition variables. | Michael Bebenita | 2010-08-09 | 3 | -5/+26 | |
| | | | ||||||