created a non-macro code-path for linked list macro impl ops

This commit is contained in:
2025-02-08 12:39:03 -05:00
parent e77c3c6385
commit fb60578a42
2 changed files with 151 additions and 10 deletions
+6 -6
View File
@@ -25,12 +25,12 @@ struct TCTX
////////////////////////////////
// NOTE(allen): Thread Context Functions
MD_API void tctx_init_and_equip(TCTX* tctx);
MD_API void tctx_init_and_equip_ainfos(TCTX* tctx, AllocatorInfo ainfos[2]);
MD_API void tctx_release(void);
MD_API TCTX* tctx_get_equipped(void);
MD_API void tctx_init_and_equip(TCTX* tctx);
MD_API void tctx_init_and_equip_ainfos(TCTX* tctx, AllocatorInfo ainfos[2]);
MD_API void tctx_release(void);
MD_API TCTX* tctx_get_equipped(void);
MD_API Arena* tctx_get_scratch(Arena** conflicts, U64 count);
MD_API Arena* tctx_get_scratch(Arena** conflicts, U64 count);
void tctx_set_thread_name(String8 name);
String8 tctx_get_thread_name(void);
@@ -40,7 +40,7 @@ void tctx_read_srcloc (char** file_name, U64* line_number);
#define tctx_write_this_srcloc() tctx_write_srcloc(__FILE__, __LINE__)
#define scratch_begin(conflicts, count) temp_begin(tctx_get_scratch((conflicts), (count)))
#define scratch_end(scratch) temp_end(scratch)
#define scratch_end(scratch) temp_end(scratch)
inline void
tctx_set_thread_name(String8 string){