Rechercher une page de manuel
reparent_to_kthreadd
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
reparent_to_kthreadd - Reparent the calling kernel thread to kthreaddSYNOPSIS
- void reparent_to_kthreadd(void);
ARGUMENTS
void
- no arguments
DESCRIPTION
If a kernel thread is launched as a result of a system call, or if it ever exits, it should generally reparent itself to kthreadd so it isn't in the way of other processes and is correctly cleaned up on exit.
The various task state such as scheduling policy and priority may have been inherited from a user process, so we reset them to sane values here.
NOTE that reparent_to_kthreadd gives the caller full capabilities.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre