Adapt to lib-musl and the new threading interface #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces three changes:
Makefile.uk
: Change the library dependency fromlib-newlib
andlib-pthread-embedded
tolib-musl
. Themusl
library also includes apthread
interface.glue.c
: Change the obsolete variable names to adapt to the new threading interface.mimalloc.h
andmimalloc_impl.h
: Include a new header to silence compiler errors.This PR is part of an ongoing process of porting the latest mimalloc allocator to the latest (v0.17.0) Unikraft core. @RaduNichita @razvanvirtan @razvand
With this PR, alongside an addition of
stdatomic.h
to the MUSL library,lib-mimalloc
(based on v1.6.3 of the mimalloc allocator) can now be compiled usinglib-musl
for Unikraft core v0.17.0.Signed-off-by: Yang Hu yanghuu531@gmail.com