1
0
Fork
You've already forked tinyalloc
0

Allow multiple tinyalloc heaps (eliminate static variables) #14

Open
jlindgren90 wants to merge 5 commits from jlindgren90/multiple-heaps into master
pull from: jlindgren90/multiple-heaps
merge into: thi.ng:master
thi.ng:master
jlindgren90 commented 2024年03月23日 21:30:03 +01:00 (Migrated from github.com)
Copy link

Multiple heaps can be useful for isolating memory into multiple areas
that can be used for different purposes, with individual limits.

  • Add a config struct (ta_cfg_t, can be declared const)
  • Pass config pointer to all tinyalloc functions

Depends on #13.

Multiple heaps can be useful for isolating memory into multiple areas that can be used for different purposes, with individual limits. - Add a config struct (ta_cfg_t, can be declared const) - Pass config pointer to all tinyalloc functions Depends on #13.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin jlindgren90/multiple-heaps:jlindgren90/multiple-heaps
git switch jlindgren90/multiple-heaps

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff jlindgren90/multiple-heaps
git switch jlindgren90/multiple-heaps
git rebase master
git switch master
git merge --ff-only jlindgren90/multiple-heaps
git switch jlindgren90/multiple-heaps
git rebase master
git switch master
git merge --no-ff jlindgren90/multiple-heaps
git switch master
git merge --squash jlindgren90/multiple-heaps
git switch master
git merge --ff-only jlindgren90/multiple-heaps
git switch master
git merge jlindgren90/multiple-heaps
git push origin master
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
thi.ng/tinyalloc!14
Reference in a new issue
thi.ng/tinyalloc
No description provided.
Delete branch "jlindgren90/multiple-heaps"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?