12 Jul 2008 14:25
use volatile when replacing Interlocked*
Eric Blake <ebb9 <at> byu.net>
2008-07-12 12:25:39 GMT
2008-07-12 12:25:39 GMT
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 <at> byu.net> Fix usage of recently fixed Interlocked* functions. * winbase.h (ilockincr, ilockdecr, ilockexch, ilockcmpexch): Add volatile qualifier, to match Interlocked* functions. -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 <at> byu.net
RSS Feed