Partial MDI rewrite

Alexandre Julliard julliard at winehq.org
Sat Jan 17 13:09:02 CST 2004


Mike Hearn <mike at 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 at winehq.com



More information about the wine-devel mailing list