Changeset 42496 in vbox
- Timestamp:
- Aug 1, 2012 8:48:06 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/freebsd/spinlock-r0drv-freebsd.c
r40806 r42496 150 150 151 151 /* Enable interrupts while we sleep. */ 152 ASMSetFlags(fIntSaved); 152 153 critical_exit(); 153 ASMSetFlags(fIntSaved);154 154 DELAY(1); 155 155 } … … 195 195 pThis->fIntSaved = 0; 196 196 if (ASMAtomicCmpXchgU32(&pThis->fLocked, 0, 1)) 197 ASMSetFlags( pThis->fIntSaved);197 ASMSetFlags(fIntSaved); 198 198 else 199 199 AssertMsgFailed(("Spinlock %p was not locked!\n", pThis));
Note:
See TracChangeset
for help on using the changeset viewer.