Graydon Hoare
|
39151f2ad8
|
Prohibit trailing whitespace under 'tidy' script. Clean up all caught cases.
|
2011-07-13 15:44:09 -07:00 |
|
Eric Holk
|
860e8fd98b
|
Combined set_registers and get_registers into swap_registers.
|
2011-06-23 20:23:04 -07:00 |
|
Eric Holk
|
98dee91f25
|
Wrote swap_context in assembly. Closes #548. This also allows us to 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-23 18:49:29 -07:00 |
|
Eric Holk
|
67360ae618
|
Fixed a problem where spawn arguments were getting lost again. Also, fixed up stack alignment, which closes #496
|
2011-06-15 18:16:59 -07:00 |
|
Eric Holk
|
d1857d30fc
|
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).
This commit also moves yield and join to the standard library, as requested in #42. Join is currently a no-op though.
|
2011-06-13 18:14:13 -07:00 |
|