1CONSOLE_TRYLOCK(9) Driver Basics CONSOLE_TRYLOCK(9)
23
4
NAME
6console_trylock - try to lock the console system for exclusive use.
7
SYNOPSIS
9int console_trylock(void);
10
ARGUMENTS
12void
13no arguments
14
DESCRIPTION
16Tried to acquire a lock which guarantees that the caller has exclusive
17access to the console system and the console_drivers list.
1819
returns 1 on success, and 0 on failure to acquire the lock.
20
COPYRIGHT
22Kernel Hackers Manual 3.10 June 2019 CONSOLE_TRYLOCK(9)