about summary refs log tree commit diff
path: root/src/rt/arch/i386/context.cpp
AgeCommit message (Collapse)AuthorLines
2011-08-17Making more of the rust_task structure directly accessible from Rust.Eric Holk-0/+2
2011-07-13Prohibit trailing whitespace under 'tidy' script. Clean up all caught cases.Graydon Hoare-1/+1
2011-06-23Combined set_registers and get_registers into swap_registers.Eric Holk-8/+5
2011-06-23Wrote swap_context in assembly. Closes #548. This also allows us to ↵Eric Holk-19/+8
re-enable optimization on OSX for both gcc and clang. Also, re-enamed task-comm-1.rs, which was previously broken by optimization.
2011-06-15Fixed a problem where spawn arguments were getting lost again. Also, fixed ↵Eric Holk-1/+5
up stack alignment, which closes #496
2011-06-13This is the mega-ucontext commit. It replaces the task switching mechanism ↵Eric Holk-0/+81
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). This commit also moves yield and join to the standard library, as requested in #42. Join is currently a no-op though.