rust/src/rt/sync
Chris Peterson 9f49293232 rt: Initialize Windows CRITICAL_SECTION with non-zero spin count
If a CRITICAL_SECTION is not initialized with a spin count, it will
default to 0, even on multi-processor systems. MSDN suggests using
4000. On single-processor systems, the spin count parameter is ignored
and the critical section's spin count defaults to 0.

For Windows >= Vista, extra debug info is allocated for
CRITICAL_SECTIONs but not released in a timely manner. Consider using
InitializeCriticalSectionEx(CRITICAL_SECTION_NO_DEBUG_INFO).
2012-02-19 23:13:31 -08:00
..
lock_and_signal.cpp rt: Initialize Windows CRITICAL_SECTION with non-zero spin count 2012-02-19 23:13:31 -08:00
lock_and_signal.h rt: Remove lock_and_signal::signal_all 2012-02-02 18:29:03 -08:00
lock_free_queue.cpp Made the lock_free_queue lock (temporarily, until fixed). 2010-08-17 23:49:57 -07:00
lock_free_queue.h Remove 'Nop.' comments, add emacs lines, remove obsolete file. 2011-07-13 14:03:18 -07:00
rust_thread.cpp rt: Use 100k stacks for scheduler threads 2012-02-10 11:53:30 -08:00
rust_thread.h rt: Use 100k stacks for scheduler threads 2012-02-10 11:53:30 -08:00
sync.h rt: Remove sync::yield and sync::sleep 2012-02-09 19:00:16 -08:00
timer.cpp Remove 'Nop.' comments, add emacs lines, remove obsolete file. 2011-07-13 14:03:18 -07:00
timer.h Attempt to correct buggy win32 timer code (causing tinderbox failures). 2011-07-13 12:25:36 -07:00