]> xenbits.xensource.com Git - unikraft/libs/pthread-embedded.git/commit
Use Unikraft initcall for initialization
authorSimon Kuenzer <simon.kuenzer@neclab.eu>
Wed, 8 Jan 2020 09:14:50 +0000 (10:14 +0100)
committerSimon Kuenzer <simon.kuenzer@neclab.eu>
Wed, 8 Jan 2020 14:17:14 +0000 (15:17 +0100)
commit1888b18993483830d240ea9b48818b10fbd96789
tree075069feb23e114a39e5cf73a0ade758a9ad0876
parent2d654800fd6b7aaa57dbffc3a5881c31b6b2642b
Use Unikraft initcall for initialization

Initialize the library by using an Unikraft initcall instead of the
constructor attribute. This is to make sure that pthread-embedded is
initialized before Unikraft calls any application constructors and
after Unikraft initialized the depending scheduler.

Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Reviewed-by: Sharan Santhanam <sharan.santhanam@neclab.eu>
pte_osal.c