]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
include/uk/init: Add main thread to init ctx
authorMichalis Pappas <michalis@unikraft.io>
Tue, 25 Mar 2025 14:46:10 +0000 (15:46 +0100)
committerUnikraft Bot <monkey@unikraft.io>
Thu, 17 Apr 2025 12:41:44 +0000 (12:41 +0000)
commitd5a64db13f2143b6d268c7be8919957d7a541b46
treec2cfae8cac272294ec47537e98534de05cf4445e
parent846d4ecbdf5f0bc3811f3a7a8f52922414311787
include/uk/init: Add main thread to init ctx

Add a new field to init ctx for the thread that executes main().
If main() does not execute on a separate thread, this is set to
NULL.

Signed-off-by: Michalis Pappas <michalis@unikraft.io>
Approved-by: Andrei Tatar <andrei@unikraft.io>
Approved-by: Sergiu Moga <sergiu@unikraft.io>
Reviewed-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Sergiu Moga <sergiu@unikraft.io>
GitHub-Closes: #1620
include/uk/init.h