Matt Taylor
Matt Taylor
We don't need this since dlclose is a no-op, but we should still probably call destructors for all shared libraries when the process exits.
This improves performance in the common scenario of a short critical section.
See e.g https://github.com/managarm/frigg/blob/51d873bc18d4ca82220a0d59c48b40cad6b87495/include/frg/formatting.hpp#L310-L311 and https://github.com/managarm/mlibc/blob/bbac41bcb782662646c7ccef88e8ebc08330741e/tests/ansi/sprintf.c#L71-L81 To fix this, we could use a C++ float-to-string implementation like [dragonbox](https://github.com/jk-jeon/dragonbox).
Currently, we keep large portions of unmodified musl code in e.g the regex and math libraries. A better solution would be to maintain patches and have a script that can...
At the moment it simply wakes all threads, which is inefficient for some operations.
This matches the Linux ABI and should also ease the implementation of new ports, see e.g #589.
We should probably have at least 1. A document explaining how to add new ports, including which sysdeps need to be implemented and their behaviour 1. A document explaining some...