VirtualBox

Ignore:
Timestamp:
Apr 17, 2012 4:43:28 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
77521
Message:

Runtime/r0drv/solaris: Dissolve VBI into IPRT.

File:
1 edited

Legend:

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

    r36190 r40966  
    147147
    148148/**
    149  * Worker for rtSemMutexSolarisRequest that handles the case where we go to sleep.
     149 * Worker for rtSemMutexSolRequest that handles the case where we go to sleep.
    150150 *
    151151 * @returns VINF_SUCCESS, VERR_INTERRUPTED, or VERR_SEM_DESTROYED.
     
    157157 * @remarks This needs to be called with the mutex object held!
    158158 */
    159 static int rtSemMutexSolarisRequestSleep(PRTSEMMUTEXINTERNAL pThis, RTMSINTERVAL cMillies,
     159static int rtSemMutexSolRequestSleep(PRTSEMMUTEXINTERNAL pThis, RTMSINTERVAL cMillies,
    160160                                       bool fInterruptible)
    161161{
     
    254254 * Internal worker.
    255255 */
    256 DECLINLINE(int) rtSemMutexSolarisRequest(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies, bool fInterruptible)
     256DECLINLINE(int) rtSemMutexSolRequest(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies, bool fInterruptible)
    257257{
    258258    PRTSEMMUTEXINTERNAL pThis = hMutexSem;
     
    296296     */
    297297    else
    298         rc = rtSemMutexSolarisRequestSleep(pThis, cMillies, fInterruptible);
     298        rc = rtSemMutexSolRequestSleep(pThis, cMillies, fInterruptible);
    299299
    300300    mutex_exit(&pThis->Mtx);
     
    305305RTDECL(int) RTSemMutexRequest(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies)
    306306{
    307     return rtSemMutexSolarisRequest(hMutexSem, cMillies, false /*fInterruptible*/);
     307    return rtSemMutexSolRequest(hMutexSem, cMillies, false /*fInterruptible*/);
    308308}
    309309
     
    317317RTDECL(int) RTSemMutexRequestNoResume(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies)
    318318{
    319     return rtSemMutexSolarisRequest(hMutexSem, cMillies, true /*fInterruptible*/);
     319    return rtSemMutexSolRequest(hMutexSem, cMillies, true /*fInterruptible*/);
    320320}
    321321
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