about summary refs log tree commit diff
path: root/src/rt/sync/lock_and_signal.h
AgeCommit message (Collapse)AuthorLines
2011-07-28Made task threads wait instead of sleep, so they can be woken up. This ↵Eric Holk-1/+4
appears to give us much better parallel performance. Also, commented out one more unsafe log and updated rust_kernel.cpp to compile under g++
2011-07-13Prohibit trailing whitespace under 'tidy' script. Clean up all caught cases.Graydon Hoare-1/+1
2011-06-27Implementation mising features in lock_and_signal for Win32. Also lowered ↵Eric Holk-1/+2
the minimum stack size to get the pfib benchmark to run without exhausting its address space on Windows.
2011-06-27Basic multithreading support. The infinite loops test successfully maxes out ↵Eric Holk-0/+14
the CPU.
2010-09-10Added lock_and_signal::signal_all(), and made the rust_kernel::join() use ↵Michael Bebenita-0/+1
wait instead of yield.
2010-09-08Tidy up the sync dir, remove dead or mis-designed code in favour of OS ↵Graydon Hoare-0/+23
primitives, switch rust_kernel to use a lock/signal pair and wait rather than spin.