|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [UNIKRAFT/LIBPTHREAD-EMBEDDED PATCH 2/3] Initialize pthread-embedded as early as possible
Because other Unikraft libraries may create threads, we
initialize pthread-embedded within the early init class.
Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
---
pte_osal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pte_osal.c b/pte_osal.c
index 6b4ebd7..d475e2c 100644
--- a/pte_osal.c
+++ b/pte_osal.c
@@ -74,7 +74,7 @@ static int pthread_initcall(void)
initialized = true;
return result;
}
-uk_lib_initcall(pthread_initcall);
+uk_early_initcall_prio(pthread_initcall, UK_PRIO_EARLIEST);
pte_osResult pte_osInit(void)
{
--
2.20.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |