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:
authorTakashi Yano via Cygwin-patches <cygwin-patches@cygwin.com>2021-01-28 06:26:14 +0300
committerCorinna Vinschen <corinna@vinschen.de>2021-01-28 13:21:12 +0300
commit253352e796ff9ec9a447e5375f5bc3e2b92b5293 (patch)
treeb8242b05afaf8efa46ad6b7a4f547c2f4870f93b /winsup/cygwin/tty.h
parent8aeb3f3e50373ecc300a32caab1e91980aabb40b (diff)
Cygwin: pty: Allow multiple apps to enable pseudo console simultaneously.
- After commit bb428520, there has been the disadvantage: 7) Pseudo console cannot be activated if it is already activated for another process on same pty. This patch clears this disadvantage.
Diffstat (limited to 'winsup/cygwin/tty.h')
-rw-r--r--winsup/cygwin/tty.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/tty.h b/winsup/cygwin/tty.h
index 47be8e4a0..e2e6dfeb6 100644
--- a/winsup/cygwin/tty.h
+++ b/winsup/cygwin/tty.h
@@ -96,13 +96,17 @@ private:
HANDLE _to_master_cyg;
HANDLE _to_slave;
HANDLE _to_slave_cyg;
- HPCON h_pseudo_console;
+ bool pcon_activated;
bool pcon_start;
bool switch_to_pcon_in;
pid_t pcon_pid;
UINT term_code_page;
DWORD pcon_last_time;
HANDLE h_pcon_write_pipe;
+ HANDLE h_pcon_condrv_reference;
+ HANDLE h_pcon_conhost_process;
+ HANDLE h_pcon_in;
+ HANDLE h_pcon_out;
bool pcon_cap_checked;
bool has_csi6n;
bool need_invisible_console;