mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-14 12:59:41 -07:00
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:
1 parent
3a409f5ab3
commit
768755b0a4
6 files changed
+62
-13
No files matched your search
+1
-5
@@ -2044,13 +2044,9 @@ txt_artifact_create(String8 key, U64 gen, U64 *requested_gen, B32 *retry_out)
|
||||
Rng1U64 range = lane_range(data.size);
|
||||
for EachInRange(idx, range)
|
||||
{
|
||||
if(data.str[idx] == '\n' || data.str[idx] == '\r')
|
||||
if(data.str[idx] == '\n')
|
||||
{
|
||||
lane_line_count += 1;
|
||||
if(data.str[idx] == '\r')
|
||||
{
|
||||
idx += 1;
|
||||
}
|
||||
}
|
||||
if(idx && idx%1000 == 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user