Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-09-07 05:18:37 +0400
committerChristopher Faylor <me@cgf.cx>2000-09-07 05:18:37 +0400
commitc1644acb233ed749b28b4139604ab134cf1cd34c (patch)
tree3fd9f31c5c3d2f81996fd6ce65b627959e8fe015 /winsup/cygwin/tty.cc
parent8dec7b03798a822337c86dbbea2f764d165cd61d (diff)
* exceptions.cc (signal_exit): Reset all mutos owned by the main thread.
* fhandler.h: Define *_output_mutex macros for serializing tty output. (fhandler_termios): Remove restart_output_event. Define dummy output mutex methods. (fhandler_pty_master): Remove unneeded fixup_after_fork method. * fhandler_termios.cc (fhandler_termios::line_edit): Acquire output_mutex when CTRL-S is hit. Release it on CTRL-Q. * fhandler_tty.cc (fhandler_pty_master::process_slave_output): Remove inappropriate OutputStopped test here. Just use the output mutex. (fhandler_pty_master::fhandler_pty_master): Remove obsolete reference to restart_output_event. (fhandler_tty_common::close): Ditto. (fhandler_pty_master::set_close_on_exec): Ditto. (fhandler_pty_master::fixup_after_fork): Delete. * tty.cc (tty::common_init): Ditto. * sync.cc (muto::reset): New method. * sync.h: Declare above method.
Diffstat (limited to 'winsup/cygwin/tty.cc')
-rw-r--r--winsup/cygwin/tty.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/winsup/cygwin/tty.cc b/winsup/cygwin/tty.cc
index 16fe39a64..d619a030c 100644
--- a/winsup/cygwin/tty.cc
+++ b/winsup/cygwin/tty.cc
@@ -388,9 +388,6 @@ tty::common_init (fhandler_pty_master *ptym)
/* Create synchronisation events */
- if (!(ptym->restart_output_event = get_event (RESTART_OUTPUT_EVENT, TRUE)))
- return FALSE;
-
if (ptym->get_device () != FH_TTYM)
{
ptym->output_done_event = ptym->ioctl_done_event =