VirtualBox

Changeset 25636 in vbox for trunk/src/VBox/Runtime/r3/posix


Ignore:
Timestamp:
Jan 4, 2010 3:38:55 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56335
Message:

semeventmulti-posix.cpp: Fixed ancient bug in the non-indefinite timeout path of rtSemEventMultiWait() that would make it be reset automatically by the first thread thru it.

File:
1 edited

Legend:

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

    r14318 r25636  
    413413            if (pThis->u32State == EVENTMULTI_STATE_SIGNALED)
    414414            {
    415                 ASMAtomicXchgU32(&pThis->u32State, EVENTMULTI_STATE_NOT_SIGNALED);
    416415                ASMAtomicDecU32(&pThis->cWaiters);
    417416                rc = pthread_mutex_unlock(&pThis->Mutex);
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