thermosphere: minor changes

This commit is contained in:
TuxSH
2020-01-21 22:24:15 +00:00
parent 0014991378
commit d80299d9ce
3 changed files with 88 additions and 0 deletions

View File

@@ -86,6 +86,7 @@ static bool applySoftwareBreakpoint(size_t id)
return true;
}
// This is okay for non-stop mode if sync isn't perfect here
atomic_store(&g_softwareBreakpointManager.breakpoints[id].triedToApplyOrRevert, false);
executeFunctionOnAllCores(applySoftwareBreakpointHandler, &id, true);
atomic_signal_fence(memory_order_seq_cst);