mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-16 19:20:13 -08:00
refactor PDB background file output
Add a shared multi-file background writer with lazy worker startup. Represent PDB output as a file artifact, keep PDB output state internal to the builder, and overlap deferred PDB writers with the file maps release.
This commit is contained in:
1 parent
c96c9620d0
commit
c629c5b10e
9 files changed
+368
-197
No files matched your search
@@ -364,6 +364,7 @@ set_platform_thread_name(String8 name)
|
||||
internal Thread
|
||||
thread_launch(ThreadEntryPointFunctionType *f, void *p)
|
||||
{
|
||||
ProfBeginFunction();
|
||||
LNX_Entity *entity = lnx_entity_alloc(LNX_EntityKind_Thread);
|
||||
entity->thread.func = f;
|
||||
entity->thread.ptr = p;
|
||||
@@ -376,6 +377,7 @@ thread_launch(ThreadEntryPointFunctionType *f, void *p)
|
||||
}
|
||||
}
|
||||
Thread handle = {(U64)entity};
|
||||
ProfEnd();
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user