Changeset 25398 in vbox for trunk/src/VBox/Runtime/r3/linux
- Timestamp:
- Dec 15, 2009 12:58:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/linux/semmutex-linux.cpp
r25378 r25398 229 229 */ 230 230 if (pTimeout && ( pTimeout->tv_sec || pTimeout->tv_nsec )) 231 RT ThreadBlocking(hThreadSelf, RTTHREADSTATE_MUTEX, RTSEMMUTEX_STRICT_BLOCK_ARGS(&pThis->ValidatorRec));231 RTSEMMUTEX_STRICT_BLOCK(hThreadSelf, &pThis->ValidatorRec); 232 232 long rc = sys_futex(&pThis->iState, FUTEX_WAIT, 2, pTimeout, NULL, 0); 233 RT ThreadUnblocked(hThreadSelf, RTTHREADSTATE_MUTEX);233 RTSEMMUTEX_STRICT_UNBLOCK(hThreadSelf); 234 234 if (RT_UNLIKELY(pThis->u32Magic != RTSEMMUTEX_MAGIC)) 235 235 return VERR_SEM_DESTROYED;
Note:
See TracChangeset
for help on using the changeset viewer.