lkml.org 
[lkml]   [2011]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: ttyS0 stuck in tty_wait_until_sent when sending break (opened with O_NONBLOCK)
From
On Sun, Nov 6, 2011 at 11:27, Domen Puncer <domen@cba.si> wrote:
> write(3, "\301", 1)                     = 1
> ioctl(3, TCSBRK <unfinished ...>
>

Traced this down to flow control. And ioctl(fd, TCSBRK, 1) is tcdrain,
so it waited.

Sorry for the noise.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-11-15 20:05    [W:0.034 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site