17 Jan
2004
17 Jan
'04
7:09 p.m.
Mike Hearn <mike(a)theoretic.com> writes:
One thing I didn't understanding looking at the DC code was the USER lock. Why does USER not use CRITICAL_SECTIONs like everywhere else, instead of these syslevel things? Are there MSDN docs on this or is it a purely internal thing?
It's a Windows thing but I don't think it's documented. A syslevel is basically a critical section with checks to make sure you grab the locks in the right order. It's used for long lived locks like the Win16 or USER ones. -- Alexandre Julliard julliard(a)winehq.com