mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-27 22:11:47 -07:00
adjust pre-emptive conversion heuristics; fix deadlock scenario in match work
This commit is contained in:
+3
-1
@@ -826,6 +826,7 @@ ASYNC_WORK_DEF(di_parse_work)
|
||||
//
|
||||
DI_Key key = {0};
|
||||
di_u2p_dequeue_key(scratch.arena, &key);
|
||||
ProfBegin("di_parse_work: %.*s", str8_varg(key.path));
|
||||
String8 og_path = key.path;
|
||||
U64 min_timestamp = key.min_timestamp;
|
||||
|
||||
@@ -1117,6 +1118,7 @@ ASYNC_WORK_DEF(di_parse_work)
|
||||
|
||||
scratch_end(scratch);
|
||||
ProfEnd();
|
||||
ProfEnd();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1723,7 +1725,7 @@ ASYNC_WORK_DEF(di_match_work)
|
||||
{
|
||||
DI_Scope *di_scope = di_scope_open();
|
||||
DI_Key key = params_keys.v[dbgi_idx];
|
||||
RDI_Parsed *rdi = di_rdi_from_key(di_scope, &key, max_U64);
|
||||
RDI_Parsed *rdi = di_rdi_from_key(di_scope, &key, os_now_microseconds()+1000);
|
||||
for EachElement(name_map_kind_idx, name_map_kinds)
|
||||
{
|
||||
RDI_NameMap *name_map = rdi_element_from_name_idx(rdi, NameMaps, name_map_kinds[name_map_kind_idx]);
|
||||
|
||||
Reference in New Issue
Block a user