This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: use volatile when replacing Interlocked*
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Sat, 12 Jul 2008 17:35:19 +0200
- Subject: Re: use volatile when replacing Interlocked*
- References: <4878A2C3.6060908@byu.net>
- Reply-to: cygwin-patches at cygwin dot com
On Jul 12 06:25, Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Based on a recent patch to the win32 headers
> (http://cygwin.com/ml/cygwin-cvs/2008-q2/msg00157.html), the Interlocked*
> functions in winbase.h are now properly prototyped to take volatile
> arguments. This patch makes cygwin match.
>
> 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 :)
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat