mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-26 17:30:09 +00:00
do not broadcast unnecessarily in task system kickoff
This commit is contained in:
@@ -1588,13 +1588,17 @@ dmn_ctrl_run(Arena *arena, DMN_CtrlCtx *ctx, DMN_RunCtrls *ctrls)
|
||||
}
|
||||
if(resume_good)
|
||||
{
|
||||
evt_good = !!WaitForDebugEvent(&evt, INFINITE);
|
||||
evt_good = !!WaitForDebugEvent(&evt, 100);
|
||||
if(evt_good)
|
||||
{
|
||||
dmn_w32_shared->resume_needed = 1;
|
||||
dmn_w32_shared->resume_pid = evt.dwProcessId;
|
||||
dmn_w32_shared->resume_tid = evt.dwThreadId;
|
||||
}
|
||||
else
|
||||
{
|
||||
keep_going = 1;
|
||||
}
|
||||
ins_atomic_u64_inc_eval(&dmn_w32_shared->run_gen);
|
||||
ins_atomic_u64_inc_eval(&dmn_w32_shared->mem_gen);
|
||||
ins_atomic_u64_inc_eval(&dmn_w32_shared->reg_gen);
|
||||
|
||||
Reference in New Issue
Block a user