diff options
Diffstat (limited to 'winsup/cygwin/tty.h')
-rw-r--r-- | winsup/cygwin/tty.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/winsup/cygwin/tty.h b/winsup/cygwin/tty.h index 0613574..47be8e4 100644 --- a/winsup/cygwin/tty.h +++ b/winsup/cygwin/tty.h @@ -21,6 +21,7 @@ details. */ #define OUTPUT_MUTEX "cygtty.output.mutex" #define INPUT_MUTEX "cygtty.input.mutex" #define TTY_SLAVE_ALIVE "cygtty.slave_alive" +#define TTY_SLAVE_READING "cygtty.slave_reading" #include <sys/termios.h> @@ -98,7 +99,6 @@ private: HPCON h_pseudo_console; bool pcon_start; bool switch_to_pcon_in; - bool mask_switch_to_pcon_in; pid_t pcon_pid; UINT term_code_page; DWORD pcon_last_time; @@ -109,6 +109,7 @@ private: pid_t invisible_console_pid; UINT previous_code_page; UINT previous_output_code_page; + bool master_is_running_as_service; public: HANDLE from_master () const { return _from_master; } @@ -142,7 +143,7 @@ public: void set_master_ctl_closed () {master_pid = -1;} static void __stdcall create_master (int); static void __stdcall init_session (); - void wait_pcon_fwd (void); + void wait_pcon_fwd (bool init = true); friend class fhandler_pty_common; friend class fhandler_pty_master; friend class fhandler_pty_slave; |