]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
lib/posix-process: Add helpers for current process and thread
authorMichalis Pappas <michalis@unikraft.io>
Mon, 13 Nov 2023 18:21:12 +0000 (19:21 +0100)
committerUnikraft Bot <monkey@unikraft.io>
Wed, 26 Mar 2025 08:05:34 +0000 (08:05 +0000)
commit0d099c275d2c306f001c366ff912c7d9c6f045ef
treea9d134248ad9541940176ff5e36bd4cc53555322
parentddf233b36eb92a74014835d8f7b88815924ba20f
lib/posix-process: Add helpers for current process and thread

Add uk_pprocess_current() uk_pthread_current() helpers. For now
these are part of the private API.

Checkpatch-Ignore: GLOBAL_INITIALISERS
Signed-off-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Ioan-Teodor Teugea <ioan_teodor.teugea@stud.acs.upb.ro>
Reviewed-by: Sergiu Moga <sergiu@unikraft.io>
Reviewed-by: Andrei Tatar <andrei@unikraft.io>
Approved-by: Andrei Tatar <andrei@unikraft.io>
GitHub-Closes: #1248
lib/posix-process/process.c
lib/posix-process/process.h