use explicit thread name exception thread ID parameter, when not implicit

This commit is contained in:
Ryan Fleury committed 2024-01-30 13:11:37 -08:00
1 parent d9f69cdf14
commit c700264445
3 files changed
+13 -1

No files matched your search

+4
View File
@@ -1124,6 +1124,10 @@ demon_os_run(Arena *arena, DEMON_OS_RunCtrls *ctrls){
}
e->kind = DEMON_EventKind_SetThreadName;
e->string = str8_list_join(arena, &thread_name_strings, 0);
if(exception->NumberParameters > 2)
{
e->code = exception->ExceptionInformation[2];
}
}
}break;