Skip to contentSkip to conversation

question on tty_operations->flush_char()

DISCUSSION Oliver Neukum 3 participants 3 messages May 19, 2020 – May 20, 2020 USB

lore
Share & tools
lore
#0 lore raw

Hi,

is the flush_char() opertion of tty_operations allowed to sleep?

Regards
Oliver

maintainer
#1 lore raw
Quoted 3 lines · Oliver Neukum

Hi,

is the flush_char() opertion of tty_operations allowed to sleep?

"flush_chars"?

I am pretty sure, given that the caller locations of it sleep before they call it. I thought I documented stuff like that a long time ago, maybe not :(

thanks,

greg k-h

#2 lore raw
Quoted 10 lines · Greg Kroah-Hartman
Quoted 3 lines · Oliver Neukum

Hi,

is the flush_char() opertion of tty_operations allowed to sleep?

"flush_chars"?

I am pretty sure, given that the caller locations of it sleep before they call it. I thought I documented stuff like that a long time ago, maybe not :(

I agree, I don't see why that wouldn't be allowed currently.

Johan