]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
lib/posix-process: Consolidate assignment of pthread parent and self
authorMichalis Pappas <michalis@unikraft.io>
Mon, 7 Apr 2025 09:50:17 +0000 (11:50 +0200)
committerUnikraft Bot <monkey@unikraft.io>
Wed, 30 Apr 2025 09:42:51 +0000 (09:42 +0000)
commit9e6cf9c0885ff096e9251e0d095b03afdcd7d394
treea90c8ec355520bb064133d6e2ad57932dd242ad0
parent22c673b10f05ce1d87e0ce8a5ecfb79c25c8fd7b
lib/posix-process: Consolidate assignment of pthread parent and self

uk_posix_process_create() is missing the assignment of pthread_self.
Instead of having wrappers perform these assignments of parent and
self, move these assignments to the core functions that create and
release threads.

Signed-off-by: Michalis Pappas <michalis@unikraft.io>
Approved-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Sergiu Moga <sergiu@unikraft.io>
Reviewed-by: Andrei Tatar <andrei@unikraft.io>
GitHub-Closes: #1627
lib/posix-process/process.c