Rechercher une page de manuel
thread_exit.9freebsd
Langue: en
Version: 308927 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
Sommaire
BSD mandoc
NAME
thread_exit - abandon current thread contextSYNOPSIS
In sys/param.h In sys/proc.h Ft void Fn thread_exit voidDESCRIPTION
The Fn thread_exit function implements the machine independent prelude to a thread shutdown. It will not return, and will result in a call to mi_switch9 to schedule some other thread.Fn thread_exit arranges to free all the resources of the thread, specifically the kernel stack.
To protect the runqueue(9), Fn thread_exit must be called with the sched_lock mutex held.
SEE ALSO
mi_switch9, mutex(9), runqueue(9), sleep(9)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre