Changeset 19888 in vbox for trunk/src/VBox/Runtime/r0drv
- Timestamp:
- May 21, 2009 3:25:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/semevent-r0drv-linux.c
r19887 r19888 93 93 * Invalidate it and signal the object just in case. 94 94 */ 95 ASMAtomic IncU32(&pEventInt->u32Magic);96 ASMAtomic XchgU32(&pEventInt->fState, 0);95 ASMAtomicWriteU32(&pEventInt->u32Magic, ~RTSEMEVENT_MAGIC); 96 ASMAtomicWriteU32(&pEventInt->fState, 0); 97 97 Assert(!waitqueue_active(&pEventInt->Head)); 98 98 wake_up_all(&pEventInt->Head); … … 120 120 * Signal the event object. 121 121 */ 122 ASMAtomic XchgU32(&pEventInt->fState, 1);122 ASMAtomicWriteU32(&pEventInt->fState, 1); 123 123 wake_up(&pEventInt->Head); 124 124
Note:
See TracChangeset
for help on using the changeset viewer.