Costin Lupu [Mon, 3 Jun 2019 15:16:39 +0000 (18:16 +0300)]
Add missing pthread functions
This patch adds some missing functions for updating threads attributes,
such as the thread name or the stack address and size. Currently we
support only the fixed stack size of 64KB.
These new functions are used by the Ruby interpreter.
Costin Lupu [Mon, 3 Jun 2019 15:16:36 +0000 (18:16 +0300)]
Initial port of pthread-embedded to Unikraft
This is our initial port of pthread-embedded to Unikraft as external
library. For now you need newlib to make it work. When adding the
library in the dependency list, pthread-embedded should stay before
newlib (e.g. ...:$(UK_LIBS)/pthread-embedded:$(UK_LIBS)/newlib.git:...).