mirror of
https://github.com/reactos/reactos.git
synced 2026-06-06 13:47:40 +08:00
[NTOS] Set SwapBusy properly for i386
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
This commit is contained in:
committed by
George Bișoc
parent
2a33aed7cf
commit
24d124f99f
@@ -427,6 +427,9 @@ KiSwapContextEntry(IN PKSWITCHFRAME SwitchFrame,
|
||||
/* Get the old thread and set its kernel stack */
|
||||
OldThread->KernelStack = SwitchFrame;
|
||||
|
||||
/* Set swapbusy to false for the new thread */
|
||||
NewThread->SwapBusy = FALSE;
|
||||
|
||||
/* ISRs can change FPU state, so disable interrupts while checking */
|
||||
_disable();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user