http://bugs.winehq.org/show_bug.cgi?id=26500
--- Comment #12 from Henri Verbeet hverbeet@gmail.com 2011-03-22 05:44:44 CDT --- (In reply to comment #10)
- Winelib does not use kernel object, so it:
2.a: Does not behave the way Windows API do; 2.b: Is suboptimal because of busy waits.
Please read RtlEnterCriticalSection() more carefully. Pay particular attention to wait_semaphore().