[Bug nptl/32436] Unbalanced nwaiters counting in sem_wait

schwab@linux-m68k.org sourceware-bugzilla@sourceware.org
Tue Dec 10 08:30:27 GMT 2024


https://sourceware.org/bugzilla/show_bug.cgi?id=32436

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED
             Blocks|12674                       |

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
The first atomic exchange will fail and reload the correct value from the
semaphore.  The only effect is that there is an extra loop iteration, but no
misbehaviour.


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=12674
[Bug 12674] sem_post/sem_wait race causing sem_post to return EINVAL
-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list