- Timestamp:
- Aug 10, 2009 11:38:54 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/spinlock-r0drv-solaris.c
r22073 r22126 110 110 AssertPtr(pSpinlockInt); 111 111 Assert(pSpinlockInt->u32Magic == RTSPINLOCK_MAGIC); 112 NOREF(pTmp);113 112 114 /** @todo r=bird: are interrupts disabled implicitly by mutex_enter?!? */113 pTmp->uFlags = ASMIntDisableFlags(); 115 114 mutex_enter(&pSpinlockInt->Mtx); 116 115 } … … 122 121 AssertPtr(pSpinlockInt); 123 122 Assert(pSpinlockInt->u32Magic == RTSPINLOCK_MAGIC); 124 NOREF(pTmp);125 123 126 124 mutex_exit(&pSpinlockInt->Mtx); 125 ASMSetFlags(pTmp->uFlags); 127 126 } 128 127
Note:
See TracChangeset
for help on using the changeset viewer.