Closed joexbayer closed 11 months ago
When using malloc, threads of the same process need to share their virtual allocations. But also require synchronization when allocating new memory.
create new struct which manages and holds allocations, this struct will hold the lock which processes share.
New threads will share the data and heap section of the parent process. They will however require their own stack.