mirror of
https://github.com/Ed94/metadesk.git
synced 2026-07-26 17:30:10 +00:00
finished reviewing thread_context.h/c for now
This commit is contained in:
@@ -13,8 +13,7 @@
|
||||
typedef struct TCTX TCTX;
|
||||
struct TCTX
|
||||
{
|
||||
AllocatorInfo ainfos[2];
|
||||
Arena* arenas[2];
|
||||
Arena* arenas[2];
|
||||
|
||||
U8 thread_name[32];
|
||||
U64 thread_name_size;
|
||||
@@ -26,7 +25,8 @@ struct TCTX
|
||||
////////////////////////////////
|
||||
// NOTE(allen): Thread Context Functions
|
||||
|
||||
MD_API void tctx_init_and_equip(TCTX *tctx, AllocatorInfo ainfo);
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user