equip conversion subprocesses with info to signal parent on completion, + plug into a wakeup thread, which can re-trigger the async wavefront. also fix duplicate line counts in text parsing

This commit is contained in:
Ryan Fleury
2025-09-29 16:38:57 -07:00
parent 3a409f5ab3
commit 768755b0a4
6 changed files with 62 additions and 13 deletions
+1 -1
View File
@@ -1300,7 +1300,7 @@ os_semaphore_open(String8 name)
{
Temp scratch = scratch_begin(0, 0);
String16 name16 = str16_from_8(scratch.arena, name);
HANDLE handle = OpenSemaphoreW(SEMAPHORE_ALL_ACCESS , 0, (WCHAR *)name16.str);
HANDLE handle = OpenSemaphoreW(SEMAPHORE_ALL_ACCESS, 0, (WCHAR *)name16.str);
Semaphore result = {(U64)handle};
scratch_end(scratch);
return result;