[PATCH?] Separate pthread patches, #2 take 2.

Dave Korn dave.korn.cygwin@googlemail.com
Thu Jun 4 16:16:00 GMT 2009


Corinna Vinschen wrote:
> On Jun  4 02:52, Dave Korn wrote:
>> Dave Korn wrote:
>>> Dave Korn wrote:
>>>>   The attached patch implements ilockexch and ilockcmpexch, using the inline
>>>> asm definition from __arch_compare_and_exchange_val_32_acq in
>>>> glibc-2.10.1/sysdeps/i386/i486/bits/atomic.h, trivially expanded inline rather
>>>> than in its original preprocessor macro form.
>>>>
>>>>   It generates incorrect code.
>>>   This much looks like it's probably a compiler bug.  
>>   Let's see whether anyone else agrees:
>>
>>         http://gcc.gnu.org/ml/gcc/2009-06/msg00053.html
> 
> When you checked in this change, I'll create a 1.7.0-49 test release.

  Am off to a meeting now; won't get a chance until late tonight.

    cheers,
      DaveK



More information about the Cygwin-patches mailing list