Rewrite ROS Critical Section implementation, which was slow and broken (because it...
authorAlex Ionescu <aionescu@gmail.com>
Mon, 3 Jan 2005 23:02:15 +0000 (23:02 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Mon, 3 Jan 2005 23:02:15 +0000 (23:02 +0000)
commit352d524633f59a73e9abcff074ab19c6af17dbad
tree79ebf2ec91a92f93322b88cd35a6fca9f5e37e35
parenta3e3b56cca6084d7e8499409e601829223457873
Rewrite ROS Critical Section implementation, which was slow and broken (because it always created an event, which is the slow path). Note that coincidentally, Gunnar also fixed this code and committed a patch this morning, taken from WINE. This code is also based on WINE, but adds more features which WINE does not support/need yet (regarding Debug CS). Hence, this code was a re-write of the original ROS code, not of Gunnar's, and we've both discussed the accidental conflict.

svn path=/trunk/; revision=12766
17 files changed:
reactos/include/funcs.h
reactos/include/ntdll/rtl.h
reactos/lib/advapi32/reg/reg.c
reactos/lib/kernel32/include/kernel32.h
reactos/lib/kernel32/misc/console.c
reactos/lib/kernel32/misc/dllmain.c
reactos/lib/kernel32/misc/lcformat.c
reactos/lib/kernel32/misc/nls.c
reactos/lib/kernel32/misc/profile.c
reactos/lib/kernel32/synch/critical.c
reactos/lib/ntdll/ldr/startup.c
reactos/lib/ntdll/rtl/critical.c
reactos/subsys/csrss/api/process.c
reactos/subsys/csrss/include/api.h
reactos/subsys/csrss/win32csr/conio.c
reactos/subsys/csrss/win32csr/dllmain.c
reactos/subsys/csrss/win32csr/guiconsole.c