VirtualBox

Changeset 7986 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Apr 15, 2008 1:11:20 PM (17 years ago)
Author:
vboxsync
Message:

Runtime: Fixed RTSemEventMultiSignal(): pthread_cond_signal => pthread_cond_broadcast.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/semeventmulti-posix.cpp

    r6738 r7986  
    234234    {
    235235        ASMAtomicXchgU32(&pThis->u32State, EVENTMULTI_STATE_SIGNALED);
    236         rc = pthread_cond_signal(&pThis->Cond);
     236        rc = pthread_cond_broadcast(&pThis->Cond);
    237237        AssertMsg(!rc, ("Failed to signal event sem %p, rc=%d.\n", EventMultiSem, rc));
    238238    }
    239239    else if (pThis->u32State == EVENTMULTI_STATE_SIGNALED)
    240240    {
    241         rc = pthread_cond_signal(&pThis->Cond); /* give'm another kick... */
     241        rc = pthread_cond_broadcast(&pThis->Cond); /* give'm another kick... */
    242242        AssertMsg(!rc, ("Failed to signal event sem %p, rc=%d. (2)\n", EventMultiSem, rc));
    243243    }
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