Remove context.thread_id

This commit is contained in:
gingerBill
2021-06-08 15:57:00 +01:00
parent f19bb0f4d4
commit 8ec2ca9dcd
14 changed files with 58 additions and 32 deletions
-3
View File
@@ -329,8 +329,6 @@ Context :: struct {
assertion_failure_proc: Assertion_Failure_Proc,
logger: Logger,
thread_id: int,
user_data: any,
user_ptr: rawptr,
user_index: int,
@@ -479,7 +477,6 @@ __init_context :: proc "contextless" (c: ^Context) {
c.temp_allocator.procedure = default_temp_allocator_proc;
c.temp_allocator.data = &global_default_temp_allocator_data;
c.thread_id = current_thread_id(); // NOTE(bill): This is "contextless" so it is okay to call
c.assertion_failure_proc = default_assertion_failure_proc;
c.logger.procedure = default_logger_proc;