What's the use of volatile in Wine code?

Alexandre Julliard julliard at winehq.org
Wed Nov 11 04:29:39 CST 2009


<Joerg-Cyril.Hoehle at t-systems.com> writes:

> So what's the use of volatile? When is it appropriate in Wine?

In general it's never appropriate. There are some very specific cases
where it can be used, but you have to be sure to know what you are
doing. Using proper synchronization instead is strongly recommended.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list