summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_console.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-02-26 01:11:54 +0000
committerChristopher Faylor <me@cgf.cx>2000-02-26 01:11:54 +0000
commit8656ee07efbd5d47cde561d4ead67174970f989b (patch)
treef25b7adbe6236e9aec1b76b7eef1c18143b9a0b6 /winsup/cygwin/fhandler_console.cc
parent52aaab48f491505380eca98379beccdd8b4f2570 (diff)
downloadcygnal-8656ee07efbd5d47cde561d4ead67174970f989b.tar.gz
cygnal-8656ee07efbd5d47cde561d4ead67174970f989b.tar.bz2
cygnal-8656ee07efbd5d47cde561d4ead67174970f989b.zip
* exceptions.cc (interruptible): Make a little more structured.
(call_handler): Allow signals to be sent even if signalled thread is stopped. Change order of signal_arrived arming/waiting threads clearing to eliminate a race. (reset_signal_arrived): New helper function. * malloc.cc (malloc_init): Use mutos so that signal handler can keep track of who owns the lock. (__malloc_lock): Ditto. (__malloc_unlock): Ditto. * sync.h (new_muto): Actually use a muto for the "buffer". * Makefile.in: Fix a dependency.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r--winsup/cygwin/fhandler_console.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
index 67732ba1c..e95cc0a9a 100644
--- a/winsup/cygwin/fhandler_console.cc
+++ b/winsup/cygwin/fhandler_console.cc
@@ -178,7 +178,6 @@ fhandler_console::read (void *pv, size_t buflen)
kill_pgrp (tc->getpgid (), SIGWINCH);
continue;
}
-debug_printf ("ich %d, keydown %d, type %d", ich, input_rec.Event.KeyEvent.bKeyDown, input_rec.EventType);
if (input_rec.EventType != KEY_EVENT ||
!input_rec.Event.KeyEvent.bKeyDown)
continue;