Scroll to navigation

RELEASE_CONSOLE_SEM(9) Driver Basics RELEASE_CONSOLE_SEM(9)

NAME

release_console_sem - unlock the console system

SYNOPSIS

void release_console_sem(void);

ARGUMENTS

void

no arguments

DESCRIPTION

Releases the semaphore which the caller holds on the console system and the console driver list.

While the semaphore was held, console output may have been buffered by printk. If this is the case, release_console_sem emits the output prior to releasing the semaphore.

If there is output waiting for klogd, we wake it up.

release_console_sem may be called from any context.

COPYRIGHT

April 2023 Kernel Hackers Manual 2.6.