VirtualBox

Ignore:
Timestamp:
Apr 23, 2010 2:41:28 PM (15 years ago)
Author:
vboxsync
Message:

Solaris/r0drv: SemEventMulti fix double decrement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/solaris/semeventmulti-r0drv-solaris.c

    r25724 r28655  
    265265            /* Retured due to call to cv_signal() or cv_broadcast() */
    266266            if (RT_LIKELY(pThis->u32Magic == RTSEMEVENTMULTI_MAGIC))
     267            {
    267268                rc = VINF_SUCCESS;
     269                ASMAtomicDecU32(&pThis->cWaking);
     270            }
    268271            else
    269272            {
     
    278281                }
    279282            }
    280             ASMAtomicDecU32(&pThis->cWaking);
    281283        }
    282284        else if (rc == -1)
Note: See TracChangeset for help on using the changeset viewer.

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