1CONSOLE_TRYLOCK(9)               Driver Basics              CONSOLE_TRYLOCK(9)
2
3
4

NAME

6       console_trylock - try to lock the console system for exclusive use.
7

SYNOPSIS

9       int console_trylock(void);
10

ARGUMENTS

12       void
13           no arguments
14

DESCRIPTION

16       Tried to acquire a lock which guarantees that the caller has exclusive
17       access to the console system and the console_drivers list.
18
19       returns 1 on success, and 0 on failure to acquire the lock.
20
22Kernel Hackers Manual 3.10         June 2019                CONSOLE_TRYLOCK(9)
Impressum