diff old/framebuffer/cp_vt.c @ 982:b29547a5b85b

avoid WAIT in virtual console
author root@henri.cr.ie.u-ryukyu.ac.jp
date Fri, 01 Oct 2010 00:26:02 +0900
parents e0c254a9a865
children
line wrap: on
line diff
--- a/old/framebuffer/cp_vt.c	Thu Sep 30 23:54:08 2010 +0900
+++ b/old/framebuffer/cp_vt.c	Fri Oct 01 00:26:02 2010 +0900
@@ -165,12 +165,13 @@
 
   error_str = select_error_str( error, error_str, activate_tty_error, activate_tty_error_str );
   error     = error | activate_tty_error;
-
+#if 0
   const int   waitactive_tty_error     = ioctl( vt->tty, VT_WAITACTIVE, vt->tty_ndx );
   const char* waitactive_tty_error_str = "Could not switch to tty";
 
   error_str = select_error_str( error, error_str, waitactive_tty_error, waitactive_tty_error_str );
   error     = error | waitactive_tty_error;
+#endif
 
   // From: http://opensolaris.org/os/project/vconsole/vt.7i.txt
   // (Close enough to Linux and a pretty good source of documentation.)