sketch out ptr graph building data structures

This commit is contained in:
Ryan Fleury
2024-10-13 20:14:59 -07:00
parent adb8d5237c
commit 8a1dd578a7
2 changed files with 61 additions and 8 deletions
+8 -2
View File
@@ -191,6 +191,13 @@ ptg_builder_thread__entry_point(void *p)
}
}
//- rjf: do task
if(got_task)
{
}
//- rjf: commit results to cache
if(got_task) OS_MutexScopeW(stripe->rw_mutex)
{
@@ -255,8 +262,7 @@ ptg_evictor_thread__entry_point(void *p)
n->is_working == 0)
{
DLLRemove(slot->first, slot->last, n);
arena_clear(n->node_arena);
arena_clear(n->link_arena);
arena_clear(n->arena);
SLLStackPush(stripe->free_node, n);
}
}