VirtualBox

Changeset 107609 in vbox for trunk/src/VBox/Runtime/generic


Ignore:
Timestamp:
Jan 9, 2025 8:19:40 PM (4 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166691
Message:

VMM/PDMCritSectRw,IPRT/RTCritSectRw: Fixed harmless issue in the enter-exclusive path. bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/critsectrw-generic.cpp

    r106061 r107609  
    615615    for (;;)
    616616    {
    617         if (   (u64State & RTCSRW_DIR_MASK) == (RTCSRW_DIR_WRITE << RTCSRW_DIR_SHIFT)
    618             || (u64State & (RTCSRW_CNT_RD_MASK | RTCSRW_CNT_WR_MASK)) != 0)
     617        if ((u64State & RTCSRW_DIR_MASK) == (RTCSRW_DIR_WRITE << RTCSRW_DIR_SHIFT))
    619618        {
    620619            /* It flows in the right direction, try follow it before it changes. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette