From a0d3c309e4e9ea6aab9b058c2e3c68b8deff9c71 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 22 Nov 2002 20:51:13 +0000 Subject: * exceptions.cc (handle_sigsuspend): Force pending signal delivery before waiting for signals to happen. * signal.cc (sleep): Force pending signal delivery before sleeping. (usleep): Ditto. (signal): Force pending signal delivery before manipulating signal stuff. (sigprocmask): Ditto. (kill_worker): Ditto. (abort): Ditto. (sigaction): Ditto. * syscalls.cc (readv): Force pending signal delivery before I/O. (writev): Ditto. (open): Ditto. * net.cc: Ditto, throughout. * sigproc.cc (sig_dispatch_pending): Deliver any pending signals prior to returning. * tty.cc (tty::make_pipes): Increase pipe buffer size. --- winsup/cygwin/tty.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/tty.cc') diff --git a/winsup/cygwin/tty.cc b/winsup/cygwin/tty.cc index efa055777..448dfdadc 100644 --- a/winsup/cygwin/tty.cc +++ b/winsup/cygwin/tty.cc @@ -358,7 +358,7 @@ tty::make_pipes (fhandler_pty_master *ptym) /* Create communication pipes */ /* FIXME: should this be sec_none_nih? */ - if (CreatePipe (&from_master, &to_slave, &sec_all, 64 * 1024) == FALSE) + if (CreatePipe (&from_master, &to_slave, &sec_all, 128 * 1024) == FALSE) { termios_printf ("can't create input pipe"); set_errno (ENOENT); @@ -366,7 +366,7 @@ tty::make_pipes (fhandler_pty_master *ptym) } // ProtectHandle1INH (to_slave, to_pty); - if (CreatePipe (&from_slave, &to_master, &sec_all, 64 * 1024) == FALSE) + if (CreatePipe (&from_slave, &to_master, &sec_all, 128 * 1024) == FALSE) { termios_printf ("can't create output pipe"); set_errno (ENOENT); -- cgit v1.2.3