use volatile when replacing Interlocked*

Eric Blake ebb9@byu.net
Sat Jul 12 16:08:00 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

|> 2008-07-12  Eric Blake  <ebb9@byu.net>
|>
|> 	Fix usage of recently fixed Interlocked* functions.
|> 	* winbase.h (ilockincr, ilockdecr, ilockexch, ilockcmpexch): Add
|> 	volatile qualifier, to match Interlocked* functions.
|
| You missed to attach the patch, apparantly :)

I hate it when that happens.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkh41t8ACgkQ84KuGfSFAYCGiwCeNuRKSXc/TFaiNIX//Y2YoDOB
pBgAnR5jA1VcS6KODQe+Fof7I8HBLg+2
=i9Kb
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygwin.patch13
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20080712/42289aa2/attachment.ksh>


More information about the Cygwin-patches mailing list