- Timestamp:
- Aug 28, 2009 12:30:51 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 51576
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/spinlock-r0drv-solaris.c
r22139 r22550 124 124 mutex_enter(&pThis->Mtx); 125 125 126 Assert(!ASMIntAreEnabled()); 126 127 RT_ASSERT_PREEMPT_CPUID_SPIN_ACQUIRED(pThis); 127 128 } … … 152 153 Assert(pThis->u32Magic == RTSPINLOCK_MAGIC); 153 154 NOREF(pTmp); 155 #ifdef RT_STRICT 156 bool fIntsOn = ASMIntAreEnabled(); 157 #endif 154 158 155 159 mutex_enter(&pThis->Mtx); 160 161 AssertMsg(fIntsOn == ASMIntAreEnabled(), ("fIntsOn=%RTbool\n", fIntsOn)); 156 162 157 163 RT_ASSERT_PREEMPT_CPUID_SPIN_ACQUIRED(pThis); … … 168 174 RT_ASSERT_PREEMPT_CPUID_SPIN_RELEASE(pThis); 169 175 NOREF(pTmp); 176 #ifdef RT_STRICT 177 bool fIntsOn = ASMIntAreEnabled(); 178 #endif 170 179 171 180 mutex_exit(&pThis->Mtx); 172 181 182 AssertMsg(fIntsOn == ASMIntAreEnabled(), ("fIntsOn=%RTbool\n", fIntsOn)); 173 183 RT_ASSERT_PREEMPT_CPUID(); 174 184 }
Note:
See TracChangeset
for help on using the changeset viewer.