CONSOLE_LOCK(9) Driver Basics CONSOLE_LOCK(9)NAMEconsole_lock - lock the console system for exclusive use.
SYNOPSIS
void console_lock(void);
ARGUMENTS
void
no arguments
DESCRIPTION
Acquires a lock which guarantees that the caller has exclusive access
to the console system and the console_drivers list.
Can sleep, returns nothing.
COPYRIGHTKernel Hackers Manual 3.11 November 2013 CONSOLE_LOCK(9)