RELEASE_CONSOLE_SEM

Section: Driver Basics (9)
Updated: February 2011
Index Return to Main Contents
 

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