[PR #970] [MERGED] connection: run all pseudoconsole hosts in jobs #24416

Open
opened 2026-01-31 09:03:12 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/970
Author: @DHowett-MSFT
Created: 5/24/2019
Status: Merged
Merged: 6/18/2019
Merged by: @DHowett-MSFT

Base: masterHead: dev/duhowett/job_creation_program


📝 Commits (7)

  • b53baea Connection: run all pseudoconsole hosts in jobs
  • 23df909 do slightly better
  • 958a9b4 Merge commit '6fc0978d' into dev/duhowett/job_creation_program
  • fc93186 Merge commit 'fa36d43b' into dev/duhowett/job_creation_program
  • cf6af4e Merge remote-tracking branch 'github/master' into dev/duhowett/job_creation_program
  • 347d9b9 Address CR feedback
  • 0995219 Terminate conhost before trying to run down the pipes

📊 Changes

3 files changed (+59 additions, -42 deletions)

View changed files

📝 src/cascadia/TerminalConnection/ConhostConnection.cpp (+46 -31)
📝 src/cascadia/TerminalConnection/ConhostConnection.h (+11 -10)
📝 src/inc/conpty-universal.h (+2 -1)

📄 Description

This commit also switches the manual resource management in
ConhostConnection to use WIL.

This change also starts conhost suspended so that we can get our lives in order before we let it start.

This seems like good practice, and it will almost certainly help with the orphaning of some conhosts after WT exits.

PR Checklist


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/970 **Author:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Created:** 5/24/2019 **Status:** ✅ Merged **Merged:** 6/18/2019 **Merged by:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Base:** `master` ← **Head:** `dev/duhowett/job_creation_program` --- ### 📝 Commits (7) - [`b53baea`](https://github.com/microsoft/terminal/commit/b53baea5088876eda8b4e3fc323f4bb83212fac4) Connection: run all pseudoconsole hosts in jobs - [`23df909`](https://github.com/microsoft/terminal/commit/23df909d92c6cc19f2e106ec3747c82b99a90ec9) do slightly better - [`958a9b4`](https://github.com/microsoft/terminal/commit/958a9b44aa593447f620172823f7bd59e4a2ccd8) Merge commit '6fc0978d' into dev/duhowett/job_creation_program - [`fc93186`](https://github.com/microsoft/terminal/commit/fc931861dd121da5b87e565af571a25f93918af1) Merge commit 'fa36d43b' into dev/duhowett/job_creation_program - [`cf6af4e`](https://github.com/microsoft/terminal/commit/cf6af4e53eb983f4a2a74d67032c87e8d12ad7d8) Merge remote-tracking branch 'github/master' into dev/duhowett/job_creation_program - [`347d9b9`](https://github.com/microsoft/terminal/commit/347d9b9fe8fc93f0864e204c9444fb8ed2879089) Address CR feedback - [`0995219`](https://github.com/microsoft/terminal/commit/0995219dd1dd7360d62477c186ea4f89726eef4d) Terminate conhost before trying to run down the pipes ### 📊 Changes **3 files changed** (+59 additions, -42 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalConnection/ConhostConnection.cpp` (+46 -31) 📝 `src/cascadia/TerminalConnection/ConhostConnection.h` (+11 -10) 📝 `src/inc/conpty-universal.h` (+2 -1) </details> ### 📄 Description This commit also switches the manual resource management in ConhostConnection to use WIL. This change also starts conhost suspended so that we can get our lives in order before we let it start. This seems like good practice, and it will almost certainly help with the orphaning of some conhosts after WT exits. ## PR Checklist * [x] Closes #1275, Closes #1250 * [x] CLA signed * [x] Tests added/passed/not required * [x] Documentation updated or not required * [x] I've discussed this with core contributors already: this was a backlog item from before GitHub --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:03:12 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24416