Changeset 40966 in vbox for trunk/src/VBox/Runtime/r0drv/solaris/semmutex-r0drv-solaris.c
- Timestamp:
- Apr 17, 2012 4:43:28 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 77521
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/semmutex-r0drv-solaris.c
r36190 r40966 147 147 148 148 /** 149 * Worker for rtSemMutexSol arisRequest that handles the case where we go to sleep.149 * Worker for rtSemMutexSolRequest that handles the case where we go to sleep. 150 150 * 151 151 * @returns VINF_SUCCESS, VERR_INTERRUPTED, or VERR_SEM_DESTROYED. … … 157 157 * @remarks This needs to be called with the mutex object held! 158 158 */ 159 static int rtSemMutexSol arisRequestSleep(PRTSEMMUTEXINTERNAL pThis, RTMSINTERVAL cMillies,159 static int rtSemMutexSolRequestSleep(PRTSEMMUTEXINTERNAL pThis, RTMSINTERVAL cMillies, 160 160 bool fInterruptible) 161 161 { … … 254 254 * Internal worker. 255 255 */ 256 DECLINLINE(int) rtSemMutexSol arisRequest(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies, bool fInterruptible)256 DECLINLINE(int) rtSemMutexSolRequest(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies, bool fInterruptible) 257 257 { 258 258 PRTSEMMUTEXINTERNAL pThis = hMutexSem; … … 296 296 */ 297 297 else 298 rc = rtSemMutexSol arisRequestSleep(pThis, cMillies, fInterruptible);298 rc = rtSemMutexSolRequestSleep(pThis, cMillies, fInterruptible); 299 299 300 300 mutex_exit(&pThis->Mtx); … … 305 305 RTDECL(int) RTSemMutexRequest(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies) 306 306 { 307 return rtSemMutexSol arisRequest(hMutexSem, cMillies, false /*fInterruptible*/);307 return rtSemMutexSolRequest(hMutexSem, cMillies, false /*fInterruptible*/); 308 308 } 309 309 … … 317 317 RTDECL(int) RTSemMutexRequestNoResume(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies) 318 318 { 319 return rtSemMutexSol arisRequest(hMutexSem, cMillies, true /*fInterruptible*/);319 return rtSemMutexSolRequest(hMutexSem, cMillies, true /*fInterruptible*/); 320 320 } 321 321
Note:
See TracChangeset
for help on using the changeset viewer.