[PR #5225] [MERGED] Relax locking around the swapchain #26195

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/5225
Author: @DHowett-MSFT
Created: 4/3/2020
Status: Merged
Merged: 4/7/2020
Merged by: @DHowett-MSFT

Base: masterHead: dev/duhowett/retro-resize


📝 Commits (1)

  • 014beac Relax locking around the swapchain

📊 Changes

1 file changed (+3 additions, -10 deletions)

View changed files

📝 src/cascadia/TerminalControl/TermControl.cpp (+3 -10)

📄 Description

Summary of the Pull Request

The terminal lock is really only for the terminal; since the renderer is
fully owned by the control, not the Terminal, and we'll only be
receiving swap chain events after we register them during
initialization, we don't need to lock before or after firing off the
coroutine.

PR Checklist

Validation Steps Performed

Manual validation.


🔄 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/5225 **Author:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Created:** 4/3/2020 **Status:** ✅ Merged **Merged:** 4/7/2020 **Merged by:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Base:** `master` ← **Head:** `dev/duhowett/retro-resize` --- ### 📝 Commits (1) - [`014beac`](https://github.com/microsoft/terminal/commit/014beac8d115f3538d7c3490e198db86519d0cfe) Relax locking around the swapchain ### 📊 Changes **1 file changed** (+3 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalControl/TermControl.cpp` (+3 -10) </details> ### 📄 Description ## Summary of the Pull Request The terminal lock is really only for the terminal; since the renderer is fully owned by the control, not the Terminal, and we'll only be receiving swap chain events after we register them during initialization, we don't need to lock before _or_ after firing off the coroutine. ## PR Checklist * [x] Closes #5203 ## Validation Steps Performed Manual validation. --- <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:14:33 +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#26195