| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-01-11 | rt: Add RUST_MAX_STACK env var with 8MB default | Brian Anderson | -0/+3 | |
| Closes #1489 | ||||
| 2012-01-09 | add rust_task_is_unwinding predicate and do not kill if already unwinding | Niko Matsakis | -2/+4 | |
| 2012-01-06 | fix how we walk functions to match new closure fmt | Niko Matsakis | -13/+1 | |
| 2012-01-06 | rewrite task tests | Niko Matsakis | -2/+13 | |
| 2012-01-06 | simplify task impl | Niko Matsakis | -5/+3 | |
| 2011-12-20 | Revert "wip" | Brian Anderson | -1/+0 | |
| This reverts commit aeadc6269ef76f4425a49d892ceac7ea311ef5c1. | ||||
| 2011-12-20 | wip | Brian Anderson | -0/+1 | |
| 2011-12-20 | rt: Remove rust_task::grow. Obsolete | Brian Anderson | -1/+0 | |
| 2011-12-20 | rt: Add a canary value to the end of every stack | Brian Anderson | -0/+1 | |
| Check it on upcall entry and exit, and on stack deletion | ||||
| 2011-12-18 | rt: Get rid of the rethrow in upcall_fail | Brian Anderson | -0/+1 | |
| Throwing in upcall_fail ends up running lots of code in the red zone. To avoid it we have the personality function figure out which stack it's on and switch as needed. | ||||
| 2011-12-17 | rt: Cache an extra stack segment to avoid bad behavior at stack boundaries | Brian Anderson | -0/+1 | |
| 2011-12-06 | rt: Rename stk_seg.limit to stk_seg.end | Brian Anderson | -1/+1 | |
| rust_task is using the word limit it two ways, so one has to change. | ||||
| 2011-12-06 | rt: Various tweaks to make __morestack unwinding work on linux | Brian Anderson | -0/+1 | |
| When unwinding through __morestack the stack limit in the TLS is invalidated and must be reset. Instead of actually landing at __morestack we're just going to make all our Rust landing pads call upcall_reset_stack_limit, which will find the stack segment that corresponds to the current stack pointer and put the limit in the TLS. Also massively expand the stack segment red zone to make more room for the dynamic linker. Will fix in the future. | ||||
| 2011-12-01 | rt: Refactor record_sp into task::record_stack_limit | Brian Anderson | -0/+1 | |
| 2011-11-30 | rt: Reorganize stack growth code | Brian Anderson | -0/+3 | |
| 2011-11-30 | rt: Remove the stack pointer field of stk_seg | Brian Anderson | -1/+0 | |
| 2011-11-22 | rt: Make __morestack (without unwinding) work on 32-bit linux | Brian Anderson | -0/+1 | |
| 2011-11-18 | rt: Remove fail calls from rust_task::yield | Brian Anderson | -1/+1 | |
| 2011-11-18 | rt: Remove task::on_wakeup. Unused | Brian Anderson | -9/+0 | |
| 2011-11-18 | rt: Remove rust_task::yield. Unused | Brian Anderson | -3/+0 | |
| 2011-11-16 | rt: Remove rust_task::notify_tasks_wating_to_join | Brian Anderson | -6/+0 | |
| 2011-11-16 | fix alignment for chan_handle structs; rust equiv is translated | Niko Matsakis | -1/+1 | |
| to char[16], not struct{long,long} | ||||
| 2011-11-16 | enum does not have a size consistent with a tag, so use unsigned long instead | Niko Matsakis | -4/+3 | |
| 2011-11-13 | rt: Perform task notification before killing the parent task | Brian Anderson | -0/+2 | |
| 2011-11-11 | rt: Take the task lock when dropping port refcounts | Brian Anderson | -2/+0 | |
| Sucks, but otherwise there are races when one task drops the refcount to zero followed by another bumping it again | ||||
| 2011-11-11 | rt: Remove rust_chan | Brian Anderson | -1/+1 | |
| 2011-10-31 | Stub a __morestack implementation and stack segment allocation. Untested. | Patrick Walton | -1/+6 | |
| 2011-09-26 | rt: Turn on cycle collection at task death; add a test case | Patrick Walton | -0/+1 | |
| 2011-09-26 | rt: Make the logic that moves environments between tasks update the GC alloc ↵ | Patrick Walton | -0/+5 | |
| chain correctly | ||||
| 2011-09-23 | rt: Add a RUST_TRACK_ORIGINS debug flag to help track down memory corruption | Patrick Walton | -0/+11 | |
| 2011-09-21 | rustc: Port the fn and obj traversal logic over from the GC branch. Doesn't ↵ | Patrick Walton | -1/+1 | |
| actually do anything yet due to lack of support in trans. | ||||
| 2011-09-20 | rt: Add an on-the-side GC chain | Patrick Walton | -0/+4 | |
| 2011-09-20 | rt: Remove the GC alloc chain | Patrick Walton | -1/+0 | |
| 2011-09-19 | rt: Introduce a self-describing box representation and functions to create ↵ | Patrick Walton | -1/+3 | |
| and free them | ||||
| 2011-09-14 | Make failure propagation to dead parents work | Brian Anderson | -0/+1 | |
| The failure will basically go 'through' the dead parent and continue propagating the failure (as if the child was reparented). | ||||
| 2011-09-14 | Make linked task failure work again | Brian Anderson | -0/+2 | |
| 2011-09-07 | Unwind the stack on task failure | Brian Anderson | -0/+1 | |
| When a task fails, we will throw an exception, then catch it at the bottom of the stack. On Windows we don't do this yet because the exception doesn't propagate correctly. No cleanups yet. Issue #236 | ||||
| 2011-09-07 | Rewrite spawn yet again | Brian Anderson | -1/+4 | |
| The motivation here is that the bottom of each stack needs to contain a C++ try/catch block so that we can unwind. This is already the case for main, but not spawned tasks. Issue #236 | ||||
| 2011-08-25 | Cleaning up task and comm exports, updating all the test cases. | Eric Holk | -1/+2 | |
| 2011-08-19 | rt: Remove rustboot's GC infrastructure | Patrick Walton | -21/+1 | |
| 2011-08-17 | Making more of the rust_task structure directly accessible from Rust. | Eric Holk | -4/+3 | |
| 2011-08-16 | rt: Implement obstacks, untested as of yet | Patrick Walton | -0/+3 | |
| 2011-08-16 | New channel-based task status notifications. | Eric Holk | -0/+23 | |
| 2011-08-16 | Removed trans_comm.rs from the compiler. Updating aio/sio to work with the ↵ | Eric Holk | -0/+2 | |
| new chan and port system, started on a networking module for the standard library. | ||||
| 2011-08-15 | Reducing the chances for race conditions in join. | Eric Holk | -0/+4 | |
| 2011-08-15 | Added a library version of spawn. Before long, we can remove the old version. | Eric Holk | -0/+1 | |
| 2011-08-15 | First step towards port handles. | Eric Holk | -0/+7 | |
| 2011-08-08 | Introduced task handles. | unknown | -1/+2 | |
| This is the new way to refer to tasks in rust-land. Currently all they do is serve as a key to look up the old rust_task structure. Ideally they won't be ref counted, but baby steps. | ||||
| 2011-08-05 | Atomic ref counting for chans. | Eric Holk | -8/+1 | |
| 2011-07-29 | Removing proxies and message queues. | Eric Holk | -4/+0 | |
