VirtualBox

Ignore:
Timestamp:
Jan 12, 2010 1:06:06 PM (15 years ago)
Author:
vboxsync
Message:

iprt/semaphore.h: RT_LOCK_CHECK_ORDER && IN_RING3 -> wrap RTSemRWCreate and RTSemMutexCreate so automatic order validation is performed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/generic/semspinmutex-r0drv-generic.c

    r22038 r25759  
    127127    pThis->hOwner     = NIL_RTNATIVETHREAD;
    128128    pThis->cLockers   = 0;
    129     rc = RTSemEventCreate(&pThis->hEventSem);
     129    rc = RTSemEventCreateEx(&pThis->hEventSem, RTSEMEVENT_FLAGS_NO_LOCK_VAL, NIL_RTLOCKVALCLASS, NULL);
    130130    if (RT_SUCCESS(rc))
    131131    {
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