summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-02-19 02:11:31 +0000
committerphintuka <phintuka>2008-02-19 02:11:31 +0000
commit1ba355234ae47addb65c6812302512cbffa5eb79 (patch)
treecc04eb4cef6ca126d8f08f10c3ed7c07cb8aac6e
parent7f4eabebae2d47e6c8fbdfde647c5b04d8d3de27 (diff)
downloadxineliboutput-1ba355234ae47addb65c6812302512cbffa5eb79.tar.gz
xineliboutput-1ba355234ae47addb65c6812302512cbffa5eb79.tar.bz2
Disable (keyboard) watchdog when keyboard thread terminates
-rw-r--r--xine_frontend_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xine_frontend_main.c b/xine_frontend_main.c
index 50ffbb1e..53197828 100644
--- a/xine_frontend_main.c
+++ b/xine_frontend_main.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend_main.c,v 1.36 2008-02-05 00:37:18 phintuka Exp $
+ * $Id: xine_frontend_main.c,v 1.37 2008-02-19 02:11:31 phintuka Exp $
*
*/
@@ -210,6 +210,7 @@ static void *kbd_receiver_thread(void *fe)
} while(!terminate_key_pressed && code != 0xffff);
+ alarm(0);
LOGDBG("Keyboard thread terminated");
tcsetattr(STDIN_FILENO, TCSANOW, &saved_tm);
system("setterm -cursor on");