console_unlock
Prev | Kernel utility functions | Next

## Name

console_unlock — unlock the console system

## Synopsis

`void console_unlock (` | void`)`;

## Arguments

`void`

  no arguments

## Description

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

While the console_lock was held, console output may have been buffered by `printk`. If this is the case, `console_unlock`; emits the output prior to releasing the lock.

If there is output waiting, we wake /dev/kmsg and `syslog` users.

`console_unlock`; may be called from any context.

Prev | Up | Next
console_trylock | Home | console_conditional_schedule