Thread (16 messages) flat view 16 messages, 5 authors, 2008-10-21

Re: [RFC PATCH 4/5] hvc_console: Add tty window resizing

From: Alan Cox <hidden>
Date: 2008-10-14 09:51:36
Also in: lkml

+	hp = container_of(work, struct hvc_struct, tty_resize);
+	if (!hp || !hp->tty)
+		return;
What locks hp->tty here, it can go NULL after the test on a hangup it
seems ?
+ * hvc_resize() - Update terminal window size information.
+ * @hp:		HVC console pointer
+ * @ws:		Terminal window size structure
See tty_do_resize() for all of this stuff in the latest git. If you can't
use tty_do_resize from your work queue then please let me know why as I'd
like everyone to be using one abstraction.

We also now have a "resize" operation for devices that want to react to a
resize from TIOCSWINSZ
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help