16 lines
723 B
Plaintext
16 lines
723 B
Plaintext
[#TODO]
|
|
|
|
[*] This is the order I want to follow, because I need them in thread context.
|
|
- Allocator interface
|
|
- Thread context (Base_Thread_Context.h)
|
|
- Arenas (copy from Ex1)
|
|
- Entry point(s) `Entry_Point_Main.cpp`
|
|
-> We can have a lib_init() instead of a clear entry point for now.
|
|
-> Switch from library to application once I add an entry point
|
|
-> See how rjf abstracts his entry points for each platform with TCTX.
|
|
[ ] 1. setup thread-local storage via thread_static (see raddbg, base_core.h,
|
|
C_LINKAGE thread_static TCTX *tctx_thread_local;
|
|
>> Must be assigned at entry point (arena_alloc())
|
|
>> TCTX defined in base_thread_context.h
|
|
> See Base_Thread.h
|