TTY_LDISC_REF_WAIT

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

tty_ldisc_ref_wait - wait for the tty ldisc  

SYNOPSIS

"SYNOPSIS"

struct tty_ldisc * tty_ldisc_ref_wait (struct tty_struct * tty);  

ARGUMENTS

tty
tty device
 

DESCRIPTION

Dereference the line discipline for the terminal and take a reference to it. If the line discipline is in flux then wait patiently until it changes.  

NOTE

Must not be called from an IRQ/timer context. The caller must also be careful not to hold other locks that will deadlock against a discipline change, such as an existing ldisc reference (which we check for)


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
NOTE

This document was created by man2html, using the manual pages.
Time: 00:02:55 GMT, October 09, 2005