Rechercher une page de manuel
cli
Langue: en
Version: $Date:$ (mandriva - 22/10/07)
Section: 9 (Appels noyau Linux)
NAME
cli, sti - disable/enable interruptsSYNOPSIS
#include <asm/system.h>extern void cli()
extern void sti()
DESCRIPTION
The cli function causes interrupts to be blocked on the host, so that following critical code may run uninterrupted. The sti function enables interrupts again.Although it is possible to use cli/sti pairs to protect critical code, it is best to use cli with the save_flags macro. See save_flags (9).
RETURN VALUE
noneAVAILABILITY
Linux 1.0+SEE ALSO
save_flags(9)include/asm-*/system.h
AUTHOR
Stephen Williams (steve@icarus.com)BUGS
The i386 ancestry of the names can be slightly confusing.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre