VirtualBox

Changeset 63417 in vbox for trunk/src/VBox/Runtime/r3/linux


Ignore:
Timestamp:
Aug 13, 2016 4:42:19 PM (8 years ago)
Author:
vboxsync
Message:

IPRT: Fixed for IPRT_WITH_FUTEX_BASED_SEMS=1.

Location:
trunk/src/VBox/Runtime/r3/linux
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/linux/semevent-linux.cpp

    r62477 r63417  
    160160        }
    161161        pThis->fEverHadSignallers = false;
     162#else
     163        RT_NOREF(hClass, pszNameFmt);
    162164#endif
    163165
     
    240242static int rtSemEventWait(RTSEMEVENT hEventSem, RTMSINTERVAL cMillies, bool fAutoResume)
    241243{
     244#ifdef RTSEMEVENT_STRICT
    242245    PCRTLOCKVALSRCPOS pSrcPos = NULL;
     246#endif
    243247
    244248    /*
     
    376380    ASMAtomicWriteBool(&pThis->fEverHadSignallers, true);
    377381    RTLockValidatorRecSharedResetOwner(&pThis->Signallers, hThread, NULL);
     382#else
     383    RT_NOREF(hEventSem, hThread);
    378384#endif
    379385}
     
    389395    ASMAtomicWriteBool(&pThis->fEverHadSignallers, true);
    390396    RTLockValidatorRecSharedAddOwner(&pThis->Signallers, hThread, NULL);
     397#else
     398    RT_NOREF(hEventSem, hThread);
    391399#endif
    392400}
     
    401409
    402410    RTLockValidatorRecSharedRemoveOwner(&pThis->Signallers, hThread);
     411#else
     412    RT_NOREF(hEventSem, hThread);
    403413#endif
    404414}
  • trunk/src/VBox/Runtime/r3/linux/semeventmulti-linux.cpp

    r62477 r63417  
    153153        }
    154154        pThis->fEverHadSignallers = false;
     155#else
     156        RT_NOREF(hClass, pszNameFmt);
    155157#endif
    156158
     
    253255                                       PCRTLOCKVALSRCPOS pSrcPos)
    254256{
     257    RT_NOREF(pSrcPos);
     258
    255259    /*
    256260     * Validate input.
     
    412416    ASMAtomicWriteBool(&pThis->fEverHadSignallers, true);
    413417    RTLockValidatorRecSharedResetOwner(&pThis->Signallers, hThread, NULL);
     418#else
     419    RT_NOREF(hEventMultiSem, hThread);
    414420#endif
    415421}
     
    425431    ASMAtomicWriteBool(&pThis->fEverHadSignallers, true);
    426432    RTLockValidatorRecSharedAddOwner(&pThis->Signallers, hThread, NULL);
     433#else
     434    RT_NOREF(hEventMultiSem, hThread);
    427435#endif
    428436}
     
    437445
    438446    RTLockValidatorRecSharedRemoveOwner(&pThis->Signallers, hThread);
     447#else
     448    RT_NOREF(hEventMultiSem, hThread);
    439449#endif
    440450}
  • trunk/src/VBox/Runtime/r3/linux/semmutex-linux.cpp

    r62477 r63417  
    138138            va_end(va);
    139139        }
     140#else
     141        RT_NOREF(hClass, uSubClass, pszNameFmt);
    140142#endif
    141143
     
    196198    return RTLockValidatorRecExclSetSubClass(&pThis->ValidatorRec, uSubClass);
    197199#else
     200    RT_NOREF(hMutexSem, uSubClass);
    198201    return RTLOCKVAL_SUB_CLASS_INVALID;
    199202#endif
     
    203206DECL_FORCE_INLINE(int) rtSemMutexRequest(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies, bool fAutoResume, PCRTLOCKVALSRCPOS pSrcPos)
    204207{
     208    RT_NOREF(pSrcPos);
     209
    205210    /*
    206211     * Validate input.
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